Index: include/gpu/SkGpuDevice.h |
=================================================================== |
--- include/gpu/SkGpuDevice.h (revision 13812) |
+++ include/gpu/SkGpuDevice.h (working copy) |
@@ -14,6 +14,7 @@ |
#include "SkGr.h" |
#include "SkBitmap.h" |
#include "SkBitmapDevice.h" |
+#include "SkPicture.h" |
#include "SkRegion.h" |
#include "GrContext.h" |
@@ -146,10 +147,16 @@ |
class SkAutoCachedTexture; // used internally |
+ |
protected: |
virtual bool onReadPixels(const SkBitmap&, int x, int y, SkCanvas::Config8888) SK_OVERRIDE; |
virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) SK_OVERRIDE; |
+ /** PRIVATE / EXPERIMENTAL -- do not call */ |
+ virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; |
+ /** PRIVATE / EXPERIMENTAL -- do not call */ |
+ virtual bool EXPERIMENTAL_drawPicture(const SkPicture& picture) SK_OVERRIDE; |
+ |
private: |
GrContext* fContext; |
@@ -215,6 +222,8 @@ |
int tileSize, |
bool bicubic); |
+ static SkPicture::AccelData::Key ComputeAccelDataKey(); |
+ |
typedef SkBitmapDevice INHERITED; |
}; |