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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 GLsizei height) OVERRIDE; | 92 GLsizei height) OVERRIDE; |
93 virtual void TexImageIOSurface2DCHROMIUM(GLenum target, | 93 virtual 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 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) OVERRIDE; | 98 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) OVERRIDE; |
99 | 99 |
100 virtual void AsyncTexImage2DCHROMIUM(GLenum target, | 100 virtual void AsyncTexImage2DCHROMIUM(GLenum target, |
101 GLint level, | 101 GLint level, |
102 GLint internalformat, | 102 GLenum internalformat, |
103 GLsizei width, | 103 GLsizei width, |
104 GLsizei height, | 104 GLsizei height, |
105 GLint border, | 105 GLint border, |
106 GLenum format, | 106 GLenum format, |
107 GLenum type, | 107 GLenum type, |
108 const void* pixels) OVERRIDE; | 108 const void* pixels) OVERRIDE; |
109 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target, | 109 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target, |
110 GLint level, | 110 GLint level, |
111 GLint xoffset, | 111 GLint xoffset, |
112 GLint yoffset, | 112 GLint yoffset, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 float device_scale) OVERRIDE; | 168 float device_scale) OVERRIDE; |
169 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; | 169 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; |
170 | 170 |
171 private: | 171 private: |
172 TestWebGraphicsContext3D* test_context_; | 172 TestWebGraphicsContext3D* test_context_; |
173 }; | 173 }; |
174 | 174 |
175 } // namespace cc | 175 } // namespace cc |
176 | 176 |
177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
OLD | NEW |