diff options
| author | Romain Guy <romainguy@google.com> | 2010-09-17 15:31:32 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-09-17 15:31:32 -0700 |
| commit | c95c8d6bf8fda5c4e8ebd0033b789be7868e6e07 (patch) | |
| tree | 3f5a4ca860841db0de4678065d6f392590749780 /libs/hwui/OpenGLRenderer.h | |
| parent | 31529ff7918ce891fba9a660d0a861eb313ea554 (diff) | |
| download | frameworks_base-c95c8d6bf8fda5c4e8ebd0033b789be7868e6e07.zip frameworks_base-c95c8d6bf8fda5c4e8ebd0033b789be7868e6e07.tar.gz frameworks_base-c95c8d6bf8fda5c4e8ebd0033b789be7868e6e07.tar.bz2 | |
Add support for non AA lines.
Change-Id: Id5200e94815404d62760437d0d2dbb0a9276c700
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index cd7963f..eba0f41 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -189,6 +189,12 @@ private: int color, SkXfermode::Mode mode, bool ignoreTransform = false); /** + * Setups shaders to draw a colored rect. + */ + void setupColorRect(float left, float top, float right, float bottom, + float r, float g, float b, float a, SkXfermode::Mode mode, bool ignoreTransform); + + /** * Draws a textured rectangle with the specified texture. The specified coordinates * are transformed by the current snapshot's transform matrix. * |
