summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-10-05 18:16:35 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-05 18:16:35 -0700
commit1e14f49d06b871d8101e33c47ba34b87c3c8089d (patch)
treec304de50878ea70f36b2228aa8fe735270bd510c /libs/hwui/OpenGLRenderer.h
parent0f8ee7439a0c0487b023f6b150ba0f9986a6cb15 (diff)
parenteb99356a0548684a501766e6a524529ab93304c8 (diff)
Merge "Optimize saveLayer() when the clip flag is set."
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 1974cf075534..e3d465381b8a 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -167,11 +167,12 @@ private:
* @param alpha The translucency of the layer
* @param mode The blending mode of the layer
* @param flags The layer save flags
+ * @param previousFbo The name of the current framebuffer
*
* @return True if the layer was successfully created, false otherwise
*/
bool createLayer(sp<Snapshot> snapshot, float left, float top, float right, float bottom,
- int alpha, SkXfermode::Mode mode, int flags);
+ int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo);
/**
* Clears all the regions corresponding to the current list of layers.