summaryrefslogtreecommitdiff
path: root/libs/hwui/Layer.h
diff options
context:
space:
mode:
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
commitf27133df2d179c99d6bc1ae644af09e9153a0071 (patch)
treeaf4365366840b8a6c4be4ab337ea3edd22ebba99 /libs/hwui/Layer.h
parenta42d2eaf2d6b3cb6072e99b4904b76c8cc263cf3 (diff)
Glop layer mesh rendering
Change-Id: I2d902819d5d77f496b67d4d25a298782903e410d
Diffstat (limited to 'libs/hwui/Layer.h')
-rw-r--r--libs/hwui/Layer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h
index 84ff02100f01..3c1f1d1846dd 100644
--- a/libs/hwui/Layer.h
+++ b/libs/hwui/Layer.h
@@ -200,10 +200,14 @@ public:
return stencil;
}
- inline GLuint getTexture() const {
+ inline GLuint getTextureId() const {
return texture.id;
}
+ inline Texture& getTexture() {
+ return texture;
+ }
+
inline GLenum getRenderTarget() const {
return renderTarget;
}