| Index: src/gpu/SkGpuDevice.h
|
| diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
|
| index d90ecbcdffeef1024f0c53e3831c43ad6f80befc..ef31276d49cb576c49c17a5ca253264daa25ca89 100644
|
| --- a/src/gpu/SkGpuDevice.h
|
| +++ b/src/gpu/SkGpuDevice.h
|
| @@ -56,6 +56,13 @@ public:
|
|
|
| virtual ~SkGpuDevice();
|
|
|
| + SkGpuDevice* cloneDevice(const SkSurfaceProps& props) {
|
| + SkBaseDevice* dev = this->onCreateCompatibleDevice(CreateInfo(this->imageInfo(),
|
| + kGeneral_Usage,
|
| + props.pixelGeometry()));
|
| + return static_cast<SkGpuDevice*>(dev);
|
| + }
|
| +
|
| GrContext* context() const { return fContext; }
|
|
|
| virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE;
|
| @@ -102,7 +109,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 +125,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 onShouldDisableLCD(const SkPaint&) const SK_OVERRIDE;
|
|
|
| /** PRIVATE / EXPERIMENTAL -- do not call */
|
| virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* picture,
|
|
|