diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 17:23:58 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 17:23:58 +0000 |
commit | b273e43cebe9f829f9e871bc27ddf5cea4feef28 (patch) | |
tree | 2db79f311c3f080d44dc1f99fc5548b4beaf6112 /gpu/command_buffer/service/gl_interface.h | |
parent | d382b18cd1dafdadc6e55843e48cb78f0f99a1b9 (diff) | |
download | chromium_src-b273e43cebe9f829f9e871bc27ddf5cea4feef28.zip chromium_src-b273e43cebe9f829f9e871bc27ddf5cea4feef28.tar.gz chromium_src-b273e43cebe9f829f9e871bc27ddf5cea4feef28.tar.bz2 |
Adds stubs for glShaderBinary and glReleaseShaderCompiler.
Also handles certain GLES2 enums passed to glGetXXX that
have no corresponding OpenGL enums
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/1609016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_interface.h')
-rw-r--r-- | gpu/command_buffer/service/gl_interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_interface.h b/gpu/command_buffer/service/gl_interface.h index 139dff2..0629e20 100644 --- a/gpu/command_buffer/service/gl_interface.h +++ b/gpu/command_buffer/service/gl_interface.h @@ -275,6 +275,8 @@ class GLInterface { GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels) = 0; + virtual void ReleaseShaderCompiler(void) = 0; + virtual void RenderbufferStorageEXT( GLenum target, GLenum internalformat, GLsizei width, GLsizei height) = 0; @@ -282,6 +284,10 @@ class GLInterface { virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) = 0; + virtual void ShaderBinary( + GLsizei n, const GLuint* shaders, GLenum binaryformat, + const void* binary, GLsizei length) = 0; + virtual void ShaderSource( GLuint shader, GLsizei count, const char** str, const GLint* length) = 0; |