summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-09-13 18:00:09 -0700
committerRomain Guy <romainguy@google.com>2010-09-13 18:03:21 -0700
commit1c740bce8a762f02b5283045a0e2de7c8fb41277 (patch)
treeebc1358a3cdcfb69f0427769756cbc83914f6c29 /libs/hwui/OpenGLRenderer.h
parent81ab046a1127bd2ad397e6d1c6f8021b202a97ff (diff)
downloadframeworks_base-1c740bce8a762f02b5283045a0e2de7c8fb41277.zip
frameworks_base-1c740bce8a762f02b5283045a0e2de7c8fb41277.tar.gz
frameworks_base-1c740bce8a762f02b5283045a0e2de7c8fb41277.tar.bz2
Document the implementation of saveLayer().
The implementation is simple but tricky. Leave explanations to my future self so that I don't invent a time machine to come back to now and slap my self. This change also simplifies the way the GL blending function is chosen when compositing a layer. It reuses existing OpenGLRenderer APIs and is easier to understand. Change-Id: I1b9cf8c5d51e09836d85b8cf157a1c284aa65c59
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r--libs/hwui/OpenGLRenderer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 12ec276..3126754 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -176,8 +176,7 @@ private:
* @paran ignoreBlending True if the blending is set by the caller
*/
void drawColorRect(float left, float top, float right, float bottom,
- int color, SkXfermode::Mode mode, bool ignoreTransform = false,
- bool ignoreBlending = false);
+ int color, SkXfermode::Mode mode, bool ignoreTransform = false);
/**
* Draws a textured rectangle with the specified texture. The specified coordinates