summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_implementation_autogen.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-12 17:23:58 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-12 17:23:58 +0000
commitb273e43cebe9f829f9e871bc27ddf5cea4feef28 (patch)
tree2db79f311c3f080d44dc1f99fc5548b4beaf6112 /gpu/command_buffer/client/gles2_implementation_autogen.h
parentd382b18cd1dafdadc6e55843e48cb78f0f99a1b9 (diff)
downloadchromium_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/client/gles2_implementation_autogen.h')
-rw-r--r--gpu/command_buffer/client/gles2_implementation_autogen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h
index 3c21aea..04e5d76 100644
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h
@@ -537,6 +537,10 @@ void ReadPixels(
GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type,
void* pixels);
+void ReleaseShaderCompiler() {
+ helper_->ReleaseShaderCompiler();
+}
+
void RenderbufferStorage(
GLenum target, GLenum internalformat, GLsizei width, GLsizei height) {
if (width < 0) {
@@ -566,6 +570,10 @@ void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) {
helper_->Scissor(x, y, width, height);
}
+void ShaderBinary(
+ GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary,
+ GLsizei length);
+
void ShaderSource(
GLuint shader, GLsizei count, const char** str, const GLint* length);