summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-01-24 16:33:45 -0800
committerRomain Guy <romainguy@google.com>2011-01-24 18:39:56 -0800
commit7d7b5490a0b0763e831b31bc11f17d8159b5914a (patch)
tree7326e41a76618cba25a9757b43db779a607b9bdf /libs/hwui/OpenGLRenderer.h
parent3dd0908a65095cb6946001ae3039ab87a47b4f33 (diff)
downloadframeworks_base-7d7b5490a0b0763e831b31bc11f17d8159b5914a.zip
frameworks_base-7d7b5490a0b0763e831b31bc11f17d8159b5914a.tar.gz
frameworks_base-7d7b5490a0b0763e831b31bc11f17d8159b5914a.tar.bz2
Enable partial invalidates when rendering with OpenGL.
Change-Id: Ie8be06c4776b815e8737753eb8003b4fd8936130
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 bd29609..77de1d2 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -62,7 +62,8 @@ public:
virtual void setViewport(int width, int height);
- virtual void prepare(bool opaque);
+ void prepare(bool opaque);
+ virtual void prepareDirty(float left, float top, float right, float bottom, bool opaque);
virtual void finish();
// These two calls must not be recorded in display lists