| Index: src/gpu/SkGpuDevice.h
|
| diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
|
| index fe03e32f733a3d17fd2de42cb6c51de666a88888..285a73745cf94392e1abda6605b65d1f4bc99d1c 100644
|
| --- a/src/gpu/SkGpuDevice.h
|
| +++ b/src/gpu/SkGpuDevice.h
|
| @@ -34,7 +34,8 @@
|
| public:
|
| enum Flags {
|
| kNeedClear_Flag = 1 << 0, //!< Surface requires an initial clear
|
| - kDFFonts_Flag = 1 << 1, //!< Surface should render fonts using signed distance fields
|
| + kCached_Flag = 1 << 1, //!< Surface is cached and needs to be unlocked when released
|
| + kDFFonts_Flag = 1 << 2, //!< Surface should render fonts using signed distance fields
|
| };
|
|
|
| /**
|
| @@ -116,6 +117,9 @@
|
| const SkImageFilter::Context&,
|
| SkBitmap*, SkIPoint*) SK_OVERRIDE;
|
|
|
| + class SkAutoCachedTexture; // used internally
|
| +
|
| +
|
| 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;
|
|
|