Index: gpu/command_buffer/client/gles2_implementation.h |
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h |
index d7b955e5a51a04d6ce21cb924e736a78efc7766f..e370310eaa91c1c2ef1d7e2f93f3424df371b492 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.h |
+++ b/gpu/command_buffer/client/gles2_implementation.h |
@@ -75,6 +75,7 @@ class MappedMemoryManager; |
namespace gles2 { |
class ClientSideBufferHelper; |
+class ProgramInfoManager; |
// Base class for IdHandlers |
class IdHandlerInterface { |
@@ -175,6 +176,17 @@ class GLES2Implementation { |
void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params); |
void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params); |
+ void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); |
+ void DeleteProgramOrShaderHelper(GLuint program_or_shader); |
+ GLint GetAttribLocationHelper(GLuint program, const char* name); |
+ GLint GetUniformLocationHelper(GLuint program, const char* name); |
+ bool GetActiveAttribHelper( |
+ GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
+ GLint* size, GLenum* type, char* name); |
+ bool GetActiveUniformHelper( |
+ GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
+ GLint* size, GLenum* type, char* name); |
+ |
GLuint MakeTextureId() { |
GLuint id; |
texture_id_handler_->MakeIds(0, 1, &id); |
@@ -473,6 +485,8 @@ class GLES2Implementation { |
scoped_ptr<MappedMemoryManager> mapped_memory_; |
+ scoped_ptr<ProgramInfoManager> program_info_manager_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); |
}; |
@@ -489,11 +503,6 @@ inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper( |
return false; |
} |
-inline bool GLES2Implementation::GetProgramivHelper( |
- GLuint /* program */, GLenum /* pname */, GLint* /* params */) { |
- return false; |
-} |
- |
inline bool GLES2Implementation::GetRenderbufferParameterivHelper( |
GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
return false; |