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 562910cc5287497979b71e7fe6a57b31aa18a6a0..9ab625cca9cbab1c47bcf84083ae23c15a42c59b 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); |
@@ -479,6 +491,8 @@ class GLES2Implementation { |
scoped_ptr<MappedMemoryManager> mapped_memory_; |
+ scoped_ptr<ProgramInfoManager> program_info_manager_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); |
}; |
@@ -495,11 +509,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; |