diff options
author | Chris Craik <ccraik@google.com> | 2015-01-29 09:45:09 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-01-30 10:49:05 -0800 |
commit | 44eb2c00861098dd3e2950d923646814b4cc57c2 (patch) | |
tree | 2d232b14b931137cc7ebb3b012c3ce4530fa5cf4 /libs/hwui/OpenGLRenderer.h | |
parent | 1b68ce327aa37ee0c4e9580d75cb6781337c4312 (diff) | |
download | frameworks_base-44eb2c00861098dd3e2950d923646814b4cc57c2.zip frameworks_base-44eb2c00861098dd3e2950d923646814b4cc57c2.tar.gz frameworks_base-44eb2c00861098dd3e2950d923646814b4cc57c2.tar.bz2 |
Refactor blending and texture gl state
Change-Id: Ia6b3c8b2afd3dfcee7f3ce401d846b789612054a
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rwxr-xr-x | libs/hwui/OpenGLRenderer.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 94054ff..cf6f0c8 100755 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -541,12 +541,6 @@ private: void discardFramebuffer(float left, float top, float right, float bottom); /** - * Ensures the state of the renderer is the same as the state of - * the GL context. - */ - void syncState(); - - /** * Tells the GPU what part of the screen is about to be redrawn. * This method will use the current layer space clip rect. * This method needs to be invoked every time getTargetFbo() is @@ -852,22 +846,6 @@ private: bool canSkipText(const SkPaint* paint) const; /** - * Binds the specified texture. The texture unit must have been selected - * prior to calling this method. - */ - inline void bindTexture(GLuint texture) { - mCaches.bindTexture(texture); - } - - /** - * Binds the specified EGLImage texture. The texture unit must have been selected - * prior to calling this method. - */ - inline void bindExternalTexture(GLuint texture) { - mCaches.bindTexture(GL_TEXTURE_EXTERNAL_OES, texture); - } - - /** * Enable or disable blending as necessary. This function sets the appropriate * blend function based on the specified xfermode. */ |