summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Glop.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-02-19 09:51:53 -0800
committerChris Craik <ccraik@google.com>2015-02-19 18:06:05 -0800
commitf27133df2d179c99d6bc1ae644af09e9153a0071 (patch)
treeaf4365366840b8a6c4be4ab337ea3edd22ebba99 /libs/hwui/Glop.h
parenta42d2eaf2d6b3cb6072e99b4904b76c8cc263cf3 (diff)
downloadframeworks_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.h10
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;