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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 108 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, |
109 GLsizei height, | 109 GLsizei height, |
110 GLenum internalformat, | 110 GLenum internalformat, |
111 GLenum usage) override; | 111 GLenum usage) override; |
112 void GetImageivCHROMIUM(GLuint image_id, GLenum param, GLint* data) override; | |
113 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; | 112 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; |
114 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; | 113 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; |
115 void FramebufferRenderbuffer(GLenum target, | 114 void FramebufferRenderbuffer(GLenum target, |
116 GLenum attachment, | 115 GLenum attachment, |
117 GLenum renderbuffertarget, | 116 GLenum renderbuffertarget, |
118 GLuint renderbuffer) override; | 117 GLuint renderbuffer) override; |
119 void FramebufferTexture2D(GLenum target, | 118 void FramebufferTexture2D(GLenum target, |
120 GLenum attachment, | 119 GLenum attachment, |
121 GLenum textarget, | 120 GLenum textarget, |
122 GLuint texture, | 121 GLuint texture, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 162 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
164 GLenum GetGraphicsResetStatusKHR() override; | 163 GLenum GetGraphicsResetStatusKHR() override; |
165 | 164 |
166 private: | 165 private: |
167 TestWebGraphicsContext3D* test_context_; | 166 TestWebGraphicsContext3D* test_context_; |
168 }; | 167 }; |
169 | 168 |
170 } // namespace cc | 169 } // namespace cc |
171 | 170 |
172 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 171 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
OLD | NEW |