Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index e74e95f2f32c4fef7836659e9f2317c94e87f520..08320bf7b45f7cfdc4cf6bc3c7065307a6821d27 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -288,7 +288,7 @@ protected: |
protected: |
// default impl returns NULL |
- virtual SkSurface* newSurface(const SkImageInfo&); |
+ virtual SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&); |
// default impl returns NULL |
virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes); |
@@ -343,6 +343,8 @@ protected: |
virtual bool EXPERIMENTAL_drawPicture(SkCanvas*, const SkPicture*, const SkMatrix*, |
const SkPaint*); |
+ void setPixelGeometry(SkPixelGeometry geo); |
+ |
private: |
friend class SkCanvas; |
friend struct DeviceCM; //for setMatrixClip |