diff options
Diffstat (limited to 'libs/hwui/LayerRenderer.h')
-rw-r--r-- | libs/hwui/LayerRenderer.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/hwui/LayerRenderer.h b/libs/hwui/LayerRenderer.h index 8d42f7f..392f863 100644 --- a/libs/hwui/LayerRenderer.h +++ b/libs/hwui/LayerRenderer.h @@ -51,10 +51,6 @@ public: virtual int prepareDirty(float left, float top, float right, float bottom, bool opaque); virtual void finish(); - virtual bool hasLayer(); - virtual Region* getRegion(); - virtual GLint getTargetFbo(); - ANDROID_API static Layer* createTextureLayer(bool isOpaque); ANDROID_API static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false); ANDROID_API static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height); @@ -64,6 +60,12 @@ public: ANDROID_API static void destroyLayerDeferred(Layer* layer); ANDROID_API static bool copyLayer(Layer* layer, SkBitmap* bitmap); +protected: + virtual bool hasLayer(); + virtual Region* getRegion(); + virtual GLint getTargetFbo(); + virtual bool suppressErrorChecks(); + private: void generateMesh(); |