Index: src/image/SkSurface_Gpu.h |
diff --git a/src/image/SkSurface_Gpu.h b/src/image/SkSurface_Gpu.h |
index 8432d9f94ca40a37828c0e34ff6d735b3f965f40..b7088ea6f8513e8dc5a8bc65e3257976e8e789b6 100644 |
--- a/src/image/SkSurface_Gpu.h |
+++ b/src/image/SkSurface_Gpu.h |
@@ -30,6 +30,9 @@ public: |
SkGpuDevice* getDevice() { return fDevice.get(); } |
+ static bool Valid(const SkImageInfo&); |
+ static bool Valid(GrContext*, GrPixelConfig, SkColorSpace*); |
+ |
private: |
sk_sp<SkGpuDevice> fDevice; |