diff options
author | Chris Craik <ccraik@google.com> | 2015-02-19 09:51:53 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-02-19 18:06:05 -0800 |
commit | f27133df2d179c99d6bc1ae644af09e9153a0071 (patch) | |
tree | af4365366840b8a6c4be4ab337ea3edd22ebba99 /libs/hwui/Glop.h | |
parent | a42d2eaf2d6b3cb6072e99b4904b76c8cc263cf3 (diff) | |
download | frameworks_base-f27133df2d179c99d6bc1ae644af09e9153a0071.zip frameworks_base-f27133df2d179c99d6bc1ae644af09e9153a0071.tar.gz frameworks_base-f27133df2d179c99d6bc1ae644af09e9153a0071.tar.bz2 |
Glop layer mesh rendering
Change-Id: I2d902819d5d77f496b67d4d25a298782903e410d
Diffstat (limited to 'libs/hwui/Glop.h')
-rw-r--r-- | libs/hwui/Glop.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/hwui/Glop.h b/libs/hwui/Glop.h index 6eca468..e500546 100644 --- a/libs/hwui/Glop.h +++ b/libs/hwui/Glop.h @@ -76,18 +76,20 @@ struct Glop { GLuint indexBufferObject; const void* vertices; const void* indices; + GLvoid* texCoordOffset; int elementCount; GLsizei stride; - GLvoid* texCoordOffset; TextureVertex mappedVertices[4]; } mesh; struct Fill { Program* program; - Texture* texture; - GLenum textureFilter; - GLenum textureClamp; + struct TextureData { + Texture* texture; + GLenum filter; + GLenum clamp; + } texture; bool colorEnabled; FloatColor color; |