| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ | 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ |
| 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ | 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 virtual GLenum CheckFramebufferStatus(GLenum target) OVERRIDE; | 51 virtual GLenum CheckFramebufferStatus(GLenum target) OVERRIDE; |
| 52 | 52 |
| 53 virtual const GLubyte* GetString(GLenum name) OVERRIDE; | 53 virtual const GLubyte* GetString(GLenum name) OVERRIDE; |
| 54 virtual GLint GetUniformLocation( | 54 virtual GLint GetUniformLocation( |
| 55 GLuint program, | 55 GLuint program, |
| 56 const GLchar* name) OVERRIDE; | 56 const GLchar* name) OVERRIDE; |
| 57 virtual void GetVertexAttribPointerv( | 57 virtual void GetVertexAttribPointerv( |
| 58 GLuint index, | 58 GLuint index, |
| 59 GLenum pname, | 59 GLenum pname, |
| 60 void** pointer) OVERRIDE; | 60 void** pointer) OVERRIDE; |
| 61 virtual void GetProgramiv( |
| 62 GLuint program, GLenum pname, GLint* params) OVERRIDE; |
| 63 virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) OVERRIDE; |
| 61 | 64 |
| 62 virtual void UseProgram(GLuint program) OVERRIDE; | 65 virtual void UseProgram(GLuint program) OVERRIDE; |
| 63 | 66 |
| 64 virtual void GenBuffers(GLsizei count, GLuint* ids) OVERRIDE; | 67 virtual void GenBuffers(GLsizei count, GLuint* ids) OVERRIDE; |
| 65 virtual void GenFramebuffers(GLsizei count, GLuint* ids) OVERRIDE; | 68 virtual void GenFramebuffers(GLsizei count, GLuint* ids) OVERRIDE; |
| 66 virtual void GenRenderbuffers(GLsizei count, GLuint* ids) OVERRIDE; | 69 virtual void GenRenderbuffers(GLsizei count, GLuint* ids) OVERRIDE; |
| 67 virtual void GenTextures(GLsizei count, GLuint* ids) OVERRIDE; | 70 virtual void GenTextures(GLsizei count, GLuint* ids) OVERRIDE; |
| 68 | 71 |
| 69 virtual void DeleteBuffers(GLsizei count, const GLuint* ids) OVERRIDE; | 72 virtual void DeleteBuffers(GLsizei count, const GLuint* ids) OVERRIDE; |
| 70 virtual void DeleteFramebuffers( | 73 virtual void DeleteFramebuffers( |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 | 290 |
| 288 scoped_refptr<Namespace> namespace_; | 291 scoped_refptr<Namespace> namespace_; |
| 289 static Namespace* shared_namespace_; | 292 static Namespace* shared_namespace_; |
| 290 | 293 |
| 291 base::WeakPtrFactory<TestGLES2Interface> weak_ptr_factory_; | 294 base::WeakPtrFactory<TestGLES2Interface> weak_ptr_factory_; |
| 292 }; | 295 }; |
| 293 | 296 |
| 294 } // namespace cc | 297 } // namespace cc |
| 295 | 298 |
| 296 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 299 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |