| Index: include/gpu/SkGpuDevice.h
|
| diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
|
| index 0b6bbc18570680584129f3fe086492beb86bc8dd..6451e15c9b6f078b9ce5c68691f75acb2766a008 100644
|
| --- a/include/gpu/SkGpuDevice.h
|
| +++ b/include/gpu/SkGpuDevice.h
|
| @@ -13,7 +13,7 @@
|
|
|
| #include "SkGr.h"
|
| #include "SkBitmap.h"
|
| -#include "SkBitmapDevice.h"
|
| +#include "SkDevice.h"
|
| #include "SkPicture.h"
|
| #include "SkRegion.h"
|
| #include "GrContext.h"
|
| @@ -24,10 +24,10 @@ struct GrSkDrawProcs;
|
| class GrTextContext;
|
|
|
| /**
|
| - * Subclass of SkBitmapDevice, which directs all drawing to the GrGpu owned by the
|
| + * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by the
|
| * canvas.
|
| */
|
| -class SK_API SkGpuDevice : public SkBitmapDevice {
|
| +class SK_API SkGpuDevice : public SkBaseDevice {
|
| public:
|
| enum Flags {
|
| kNeedClear_Flag = 1 << 0, //!< Surface requires an initial clear
|
| @@ -161,6 +161,9 @@ private:
|
| GrRenderTarget* fRenderTarget;
|
| bool fNeedClear;
|
|
|
| + // remove when our clients don't rely on accessBitmap()
|
| + SkBitmap fLegacyBitmap;
|
| +
|
| // called from rt and tex cons
|
| void initFromRenderTarget(GrContext*, GrRenderTarget*, unsigned flags);
|
|
|
| @@ -214,7 +217,7 @@ private:
|
|
|
| static SkPicture::AccelData::Key ComputeAccelDataKey();
|
|
|
| - typedef SkBitmapDevice INHERITED;
|
| + typedef SkBaseDevice INHERITED;
|
| };
|
|
|
| #endif
|
|
|