| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 GLenum internalformat, | 90 GLenum internalformat, |
| 91 GLsizei width, | 91 GLsizei width, |
| 92 GLsizei height) override; | 92 GLsizei height) override; |
| 93 void TexImageIOSurface2DCHROMIUM(GLenum target, | 93 void TexImageIOSurface2DCHROMIUM(GLenum target, |
| 94 GLsizei width, | 94 GLsizei width, |
| 95 GLsizei height, | 95 GLsizei height, |
| 96 GLuint io_surface_id, | 96 GLuint io_surface_id, |
| 97 GLuint plane) override; | 97 GLuint plane) override; |
| 98 void TexParameteri(GLenum target, GLenum pname, GLint param) override; | 98 void TexParameteri(GLenum target, GLenum pname, GLint param) override; |
| 99 | 99 |
| 100 void AsyncTexImage2DCHROMIUM(GLenum target, | |
| 101 GLint level, | |
| 102 GLenum internalformat, | |
| 103 GLsizei width, | |
| 104 GLsizei height, | |
| 105 GLint border, | |
| 106 GLenum format, | |
| 107 GLenum type, | |
| 108 const void* pixels) override; | |
| 109 void AsyncTexSubImage2DCHROMIUM(GLenum target, | |
| 110 GLint level, | |
| 111 GLint xoffset, | |
| 112 GLint yoffset, | |
| 113 GLsizei width, | |
| 114 GLsizei height, | |
| 115 GLenum format, | |
| 116 GLenum type, | |
| 117 const void* pixels) override; | |
| 118 void CompressedTexImage2D(GLenum target, | 100 void CompressedTexImage2D(GLenum target, |
| 119 GLint level, | 101 GLint level, |
| 120 GLenum internalformat, | 102 GLenum internalformat, |
| 121 GLsizei width, | 103 GLsizei width, |
| 122 GLsizei height, | 104 GLsizei height, |
| 123 GLint border, | 105 GLint border, |
| 124 GLsizei image_size, | 106 GLsizei image_size, |
| 125 const void* data) override; | 107 const void* data) override; |
| 126 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override; | |
| 127 GLuint CreateImageCHROMIUM(ClientBuffer buffer, | 108 GLuint CreateImageCHROMIUM(ClientBuffer buffer, |
| 128 GLsizei width, | 109 GLsizei width, |
| 129 GLsizei height, | 110 GLsizei height, |
| 130 GLenum internalformat) override; | 111 GLenum internalformat) override; |
| 131 void DestroyImageCHROMIUM(GLuint image_id) override; | 112 void DestroyImageCHROMIUM(GLuint image_id) override; |
| 132 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, | 113 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, |
| 133 GLsizei height, | 114 GLsizei height, |
| 134 GLenum internalformat, | 115 GLenum internalformat, |
| 135 GLenum usage) override; | 116 GLenum usage) override; |
| 136 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; | 117 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 160 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
| 180 GLenum GetGraphicsResetStatusKHR() override; | 161 GLenum GetGraphicsResetStatusKHR() override; |
| 181 | 162 |
| 182 private: | 163 private: |
| 183 TestWebGraphicsContext3D* test_context_; | 164 TestWebGraphicsContext3D* test_context_; |
| 184 }; | 165 }; |
| 185 | 166 |
| 186 } // namespace cc | 167 } // namespace cc |
| 187 | 168 |
| 188 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 169 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |