| 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 "gpu/command_buffer/client/gles2_interface_stub.h" | 8 #include "gpu/command_buffer/client/gles2_interface_stub.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 GLsizei width, | 98 GLsizei width, |
| 99 GLsizei height, | 99 GLsizei height, |
| 100 GLint border, | 100 GLint border, |
| 101 GLsizei image_size, | 101 GLsizei image_size, |
| 102 const void* data) override; | 102 const void* data) override; |
| 103 GLuint CreateImageCHROMIUM(ClientBuffer buffer, | 103 GLuint CreateImageCHROMIUM(ClientBuffer buffer, |
| 104 GLsizei width, | 104 GLsizei width, |
| 105 GLsizei height, | 105 GLsizei height, |
| 106 GLenum internalformat) override; | 106 GLenum internalformat) override; |
| 107 void DestroyImageCHROMIUM(GLuint image_id) override; | 107 void DestroyImageCHROMIUM(GLuint image_id) override; |
| 108 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, | |
| 109 GLsizei height, | |
| 110 GLenum internalformat, | |
| 111 GLenum usage) override; | |
| 112 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; | 108 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; |
| 113 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; | 109 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; |
| 114 void FramebufferRenderbuffer(GLenum target, | 110 void FramebufferRenderbuffer(GLenum target, |
| 115 GLenum attachment, | 111 GLenum attachment, |
| 116 GLenum renderbuffertarget, | 112 GLenum renderbuffertarget, |
| 117 GLuint renderbuffer) override; | 113 GLuint renderbuffer) override; |
| 118 void FramebufferTexture2D(GLenum target, | 114 void FramebufferTexture2D(GLenum target, |
| 119 GLenum attachment, | 115 GLenum attachment, |
| 120 GLenum textarget, | 116 GLenum textarget, |
| 121 GLuint texture, | 117 GLuint texture, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 protected: | 163 protected: |
| 168 virtual void InitializeTestContext(TestWebGraphicsContext3D* context) {} | 164 virtual void InitializeTestContext(TestWebGraphicsContext3D* context) {} |
| 169 | 165 |
| 170 protected: | 166 protected: |
| 171 TestWebGraphicsContext3D* test_context_ = nullptr; | 167 TestWebGraphicsContext3D* test_context_ = nullptr; |
| 172 }; | 168 }; |
| 173 | 169 |
| 174 } // namespace cc | 170 } // namespace cc |
| 175 | 171 |
| 176 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 172 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |