diff options
| author | 2010-10-05 18:16:35 -0700 | |
|---|---|---|
| committer | 2010-10-05 18:16:35 -0700 | |
| commit | 1e14f49d06b871d8101e33c47ba34b87c3c8089d (patch) | |
| tree | c304de50878ea70f36b2228aa8fe735270bd510c /libs/hwui/OpenGLRenderer.h | |
| parent | 0f8ee7439a0c0487b023f6b150ba0f9986a6cb15 (diff) | |
| parent | eb99356a0548684a501766e6a524529ab93304c8 (diff) | |
Merge "Optimize saveLayer() when the clip flag is set."
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 3 |
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. |