| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 const void* pixels) override; | 105 const void* pixels) override; |
| 106 void AsyncTexSubImage2DCHROMIUM(GLenum target, | 106 void AsyncTexSubImage2DCHROMIUM(GLenum target, |
| 107 GLint level, | 107 GLint level, |
| 108 GLint xoffset, | 108 GLint xoffset, |
| 109 GLint yoffset, | 109 GLint yoffset, |
| 110 GLsizei width, | 110 GLsizei width, |
| 111 GLsizei height, | 111 GLsizei height, |
| 112 GLenum format, | 112 GLenum format, |
| 113 GLenum type, | 113 GLenum type, |
| 114 const void* pixels) override; | 114 const void* pixels) override; |
| 115 void AsyncCompressedTexImage2DCHROMIUM(GLenum target, |
| 116 GLint level, |
| 117 GLint internalformat, |
| 118 GLsizei width, |
| 119 GLsizei height, |
| 120 GLint border, |
| 121 GLsizei imagesize, |
| 122 const void* pixels) override; |
| 123 void AsyncCompressedTexSubImage2DCHROMIUM(GLenum target, |
| 124 GLint level, |
| 125 GLint xoffset, |
| 126 GLint yoffset, |
| 127 GLsizei width, |
| 128 GLsizei height, |
| 129 GLenum format, |
| 130 GLsizei imagesize, |
| 131 const void* pixels) override; |
| 115 void CompressedTexImage2D(GLenum target, | 132 void CompressedTexImage2D(GLenum target, |
| 116 GLint level, | 133 GLint level, |
| 117 GLenum internalformat, | 134 GLenum internalformat, |
| 118 GLsizei width, | 135 GLsizei width, |
| 119 GLsizei height, | 136 GLsizei height, |
| 120 GLint border, | 137 GLint border, |
| 121 GLsizei image_size, | 138 GLsizei image_size, |
| 122 const void* data) override; | 139 const void* data) override; |
| 123 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override; | 140 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override; |
| 124 GLuint CreateImageCHROMIUM(ClientBuffer buffer, | 141 GLuint CreateImageCHROMIUM(ClientBuffer buffer, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; | 192 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; |
| 176 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 193 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
| 177 | 194 |
| 178 private: | 195 private: |
| 179 TestWebGraphicsContext3D* test_context_; | 196 TestWebGraphicsContext3D* test_context_; |
| 180 }; | 197 }; |
| 181 | 198 |
| 182 } // namespace cc | 199 } // namespace cc |
| 183 | 200 |
| 184 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 201 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |