diff options
author | Romain Guy <romainguy@google.com> | 2011-01-13 12:13:20 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-01-13 12:13:20 -0800 |
commit | ada830f639591b99c3e40de22b07296c7932a33f (patch) | |
tree | 308f469469e96ce7f99d2ec5135e7d44eb858a35 /libs/hwui/DisplayListRenderer.h | |
parent | 4f6aff386045000c2c03b903c7109cb42092b7ea (diff) | |
download | frameworks_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/DisplayListRenderer.h')
-rw-r--r-- | libs/hwui/DisplayListRenderer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h index 62cb0e8..0822725 100644 --- a/libs/hwui/DisplayListRenderer.h +++ b/libs/hwui/DisplayListRenderer.h @@ -246,8 +246,7 @@ public: bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); void drawDisplayList(DisplayList* displayList); - void drawLayer(int texture, float left, float top, float right, float bottom, - float u, float v, SkPaint* paint); + 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, |