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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 GLsizei width, | 83 GLsizei width, |
84 GLsizei height, | 84 GLsizei height, |
85 GLenum format, | 85 GLenum format, |
86 GLenum type, | 86 GLenum type, |
87 const void* pixels) override; | 87 const void* pixels) override; |
88 void TexStorage2DEXT(GLenum target, | 88 void TexStorage2DEXT(GLenum target, |
89 GLsizei levels, | 89 GLsizei levels, |
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, | |
94 GLsizei width, | |
95 GLsizei height, | |
96 GLuint io_surface_id, | |
97 GLuint plane) override; | |
98 void TexParameteri(GLenum target, GLenum pname, GLint param) override; | 93 void TexParameteri(GLenum target, GLenum pname, GLint param) override; |
99 | 94 |
100 void CompressedTexImage2D(GLenum target, | 95 void CompressedTexImage2D(GLenum target, |
101 GLint level, | 96 GLint level, |
102 GLenum internalformat, | 97 GLenum internalformat, |
103 GLsizei width, | 98 GLsizei width, |
104 GLsizei height, | 99 GLsizei height, |
105 GLint border, | 100 GLint border, |
106 GLsizei image_size, | 101 GLsizei image_size, |
107 const void* data) override; | 102 const void* data) override; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 163 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
169 GLenum GetGraphicsResetStatusKHR() override; | 164 GLenum GetGraphicsResetStatusKHR() override; |
170 | 165 |
171 private: | 166 private: |
172 TestWebGraphicsContext3D* test_context_; | 167 TestWebGraphicsContext3D* test_context_; |
173 }; | 168 }; |
174 | 169 |
175 } // namespace cc | 170 } // namespace cc |
176 | 171 |
177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 172 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
OLD | NEW |