aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r--include/core/SkImage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 44fef0eb09..832ff9dea1 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; }