summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLDebugRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-01-13 12:13:20 -0800
committerRomain Guy <romainguy@google.com>2011-01-13 12:13:20 -0800
commitada830f639591b99c3e40de22b07296c7932a33f (patch)
tree308f469469e96ce7f99d2ec5135e7d44eb858a35 /libs/hwui/OpenGLDebugRenderer.h
parent4f6aff386045000c2c03b903c7109cb42092b7ea (diff)
downloadframeworks_base-ada830f639591b99c3e40de22b07296c7932a33f.zip
frameworks_base-ada830f639591b99c3e40de22b07296c7932a33f.tar.gz
frameworks_base-ada830f639591b99c3e40de22b07296c7932a33f.tar.bz2
Cleanup implementation of hardware layers.
The new implementation relies on OpenGLRenderer's existing layer code instead of duplicating it. The new code is much cleaner, with simpler and better APIs and allows tracking of drawn regions inside layers. Region tracking is not yet enabled but this will be done in a future CL. Change-Id: Ie826121a2227de8252c77b992a61218defea5143
Diffstat (limited to 'libs/hwui/OpenGLDebugRenderer.h')
-rw-r--r--libs/hwui/OpenGLDebugRenderer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLDebugRenderer.h b/libs/hwui/OpenGLDebugRenderer.h
index ee34d73..1cef267 100644
--- a/libs/hwui/OpenGLDebugRenderer.h
+++ b/libs/hwui/OpenGLDebugRenderer.h
@@ -41,6 +41,7 @@ public:
SkPaint* p, int flags);
void drawDisplayList(DisplayList* displayList);
+ void drawLayer(Layer* layer, float x, float y, SkPaint* paint);
void drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint);
void drawBitmap(SkBitmap* bitmap, SkMatrix* matrix, SkPaint* paint);
void drawBitmap(SkBitmap* bitmap, float srcLeft, float srcTop,