summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-11-08 12:08:41 -0800
committerRomain Guy <romainguy@google.com>2010-11-08 12:15:28 -0800
commit0fe478ea04720a57ef3919dbc23711bc7eba517f (patch)
treed498b2893e0890f0bb9dccf44dc392004d68e844 /libs/hwui/OpenGLRenderer.h
parentcce1d2a60bc1ef10ec6beb338ec3d4cf94486c47 (diff)
downloadframeworks_base-0fe478ea04720a57ef3919dbc23711bc7eba517f.zip
frameworks_base-0fe478ea04720a57ef3919dbc23711bc7eba517f.tar.gz
frameworks_base-0fe478ea04720a57ef3919dbc23711bc7eba517f.tar.bz2
Support nested display lists.
Change-Id: I3815a2832fc0f722c668ba8f51c5f177edb77c94
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r--libs/hwui/OpenGLRenderer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 93c2e6c..3340b4a 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -58,7 +58,7 @@ namespace uirenderer {
// Renderer
///////////////////////////////////////////////////////////////////////////////
-class DisplayListRenderer;
+class DisplayList;
/**
* OpenGL renderer used to draw accelerated 2D graphics. The API is a
@@ -100,6 +100,7 @@ public:
bool quickReject(float left, float top, float right, float bottom);
virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
+ virtual void drawDisplayList(DisplayList* displayList);
virtual void drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint);
virtual void drawBitmap(SkBitmap* bitmap, SkMatrix* matrix, SkPaint* paint);
virtual void drawBitmap(SkBitmap* bitmap, float srcLeft, float srcTop,