Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index f7ff8c82a4f6a845864edb82facdb900048431bc..2518d49f973d6fdd1ead6f098dcd2eb8688a1791 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -56,6 +56,10 @@ public: |
virtual ~SkGpuDevice(); |
+ SkGpuDevice* cloneDevice() { |
+ return static_cast<SkGpuDevice*>(this->onCreateDevice(this->imageInfo(), kGeneral_Usage)); |
+ } |
+ |
GrContext* context() const { return fContext; } |
virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE; |
@@ -102,7 +106,6 @@ public: |
const SkPaint&) SK_OVERRIDE; |
virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
const SkPaint&) SK_OVERRIDE; |
- virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE; |
virtual void flush() SK_OVERRIDE; |
@@ -119,6 +122,7 @@ public: |
protected: |
virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OVERRIDE; |
virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) SK_OVERRIDE; |
+ bool onDisableLCD(const SkPaint&) const SK_OVERRIDE; |
f(malita)
2014/11/12 20:49:14
virtual
|
/** PRIVATE / EXPERIMENTAL -- do not call */ |
virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* picture, |