| Index: cc/test/test_gles2_interface.h
|
| diff --git a/cc/test/test_gles2_interface.h b/cc/test/test_gles2_interface.h
|
| index c7f06370ba54b599c7c1439b885f686ac2abf09e..419639f72da514957abc4a3bf239e8e0f78bf89e 100644
|
| --- a/cc/test/test_gles2_interface.h
|
| +++ b/cc/test/test_gles2_interface.h
|
| @@ -15,8 +15,22 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
|
| explicit TestGLES2Interface(TestWebGraphicsContext3D* test_context);
|
| virtual ~TestGLES2Interface();
|
|
|
| + virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE;
|
| + virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE;
|
| + virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) OVERRIDE;
|
| + virtual void GenQueriesEXT(GLsizei n, GLuint* queries) OVERRIDE;
|
| +
|
| + virtual void DeleteTextures(GLsizei n, const GLuint* textures) OVERRIDE;
|
| + virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) OVERRIDE;
|
| + virtual void DeleteFramebuffers(GLsizei n,
|
| + const GLuint* framebuffers) OVERRIDE;
|
| + virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) OVERRIDE;
|
| +
|
| virtual GLuint CreateShader(GLenum type) OVERRIDE;
|
| virtual GLuint CreateProgram() OVERRIDE;
|
| +
|
| + virtual void BindTexture(GLenum target, GLuint texture) OVERRIDE;
|
| +
|
| virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) OVERRIDE;
|
| virtual void GetProgramiv(GLuint program,
|
| GLenum pname,
|
| @@ -25,7 +39,49 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
|
| GLenum precisiontype,
|
| GLint* range,
|
| GLint* precision) OVERRIDE;
|
| + virtual GLenum CheckFramebufferStatus(GLenum target) OVERRIDE;
|
| +
|
| + virtual void ActiveTexture(GLenum target) OVERRIDE;
|
| + virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height)
|
| + OVERRIDE;
|
| virtual void UseProgram(GLuint program) OVERRIDE;
|
| + virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height)
|
| + OVERRIDE;
|
| + virtual void DrawElements(GLenum mode,
|
| + GLsizei count,
|
| + GLenum type,
|
| + const void* indices) OVERRIDE;
|
| + virtual void ClearColor(GLclampf red,
|
| + GLclampf green,
|
| + GLclampf blue,
|
| + GLclampf alpha) OVERRIDE;
|
| + virtual void ClearStencil(GLint s) OVERRIDE;
|
| + virtual void Clear(GLbitfield mask) OVERRIDE;
|
| + virtual void Flush() OVERRIDE;
|
| + virtual void Finish() OVERRIDE;
|
| + virtual void Enable(GLenum cap) OVERRIDE;
|
| + virtual void Disable(GLenum cap) OVERRIDE;
|
| +
|
| + virtual void BindBuffer(GLenum target, GLuint buffer) OVERRIDE;
|
| + virtual void BindFramebuffer(GLenum target, GLuint buffer) OVERRIDE;
|
| +
|
| + virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) OVERRIDE;
|
| + virtual GLboolean UnmapBufferCHROMIUM(GLuint target) OVERRIDE;
|
| + virtual void BufferData(GLenum target,
|
| + GLsizeiptr size,
|
| + const void* data,
|
| + GLenum usage) OVERRIDE;
|
| +
|
| + virtual void WaitSyncPointCHROMIUM(GLuint sync_point) OVERRIDE;
|
| + virtual GLuint InsertSyncPointCHROMIUM() OVERRIDE;
|
| +
|
| + virtual void BeginQueryEXT(GLenum target, GLuint id) OVERRIDE;
|
| + virtual void EndQueryEXT(GLenum target) OVERRIDE;
|
| +
|
| + virtual void DiscardFramebufferEXT(GLenum target,
|
| + GLsizei count,
|
| + const GLenum* attachments) OVERRIDE;
|
| + virtual void GenMailboxCHROMIUM(GLbyte* mailbox) OVERRIDE;
|
|
|
| private:
|
| TestWebGraphicsContext3D* test_context_;
|
|
|