diff options
| author | 2015-02-19 09:51:53 -0800 | |
|---|---|---|
| committer | 2015-02-19 18:06:05 -0800 | |
| commit | f27133df2d179c99d6bc1ae644af09e9153a0071 (patch) | |
| tree | af4365366840b8a6c4be4ab337ea3edd22ebba99 /libs/hwui/Layer.h | |
| parent | a42d2eaf2d6b3cb6072e99b4904b76c8cc263cf3 (diff) | |
Glop layer mesh rendering
Change-Id: I2d902819d5d77f496b67d4d25a298782903e410d
Diffstat (limited to 'libs/hwui/Layer.h')
| -rw-r--r-- | libs/hwui/Layer.h | 6 |
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; } |