Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index c2896beab19a0ded8a625ebd6aa70de15fe71cae..0474195ae2f1ad2d69bf9494f1111afff570eb7f 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -145,6 +145,8 @@ public: |
static SkImage* NewFromPicture(const SkPicture*, const SkISize& dimensions, |
const SkMatrix*, const SkPaint*); |
+ static SkImage* NewTextureFromPixmap(GrContext*, const SkPixmap&, SkBudgeted budgeted); |
+ |
/////////////////////////////////////////////////////////////////////////////////////////////// |
int width() const { return fWidth; } |