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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 virtual void GetQueryObjectuivEXT(GLuint id, | 153 virtual void GetQueryObjectuivEXT(GLuint id, |
154 GLenum pname, | 154 GLenum pname, |
155 GLuint* params) OVERRIDE; | 155 GLuint* params) OVERRIDE; |
156 | 156 |
157 virtual void DiscardFramebufferEXT(GLenum target, | 157 virtual void DiscardFramebufferEXT(GLenum target, |
158 GLsizei count, | 158 GLsizei count, |
159 const GLenum* attachments) OVERRIDE; | 159 const GLenum* attachments) OVERRIDE; |
160 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) OVERRIDE; | 160 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) OVERRIDE; |
161 virtual void ProduceTextureCHROMIUM(GLenum target, | 161 virtual void ProduceTextureCHROMIUM(GLenum target, |
162 const GLbyte* mailbox) OVERRIDE; | 162 const GLbyte* mailbox) OVERRIDE; |
| 163 virtual void ProduceTextureDirectCHROMIUM(GLuint texture, |
| 164 GLenum target, |
| 165 const GLbyte* mailbox) OVERRIDE; |
163 virtual void ConsumeTextureCHROMIUM(GLenum target, | 166 virtual void ConsumeTextureCHROMIUM(GLenum target, |
164 const GLbyte* mailbox) OVERRIDE; | 167 const GLbyte* mailbox) OVERRIDE; |
| 168 virtual GLuint CreateAndConsumeTextureCHROMIUM( |
| 169 GLenum target, |
| 170 const GLbyte* mailbox) OVERRIDE; |
165 | 171 |
166 virtual void ResizeCHROMIUM(GLuint width, | 172 virtual void ResizeCHROMIUM(GLuint width, |
167 GLuint height, | 173 GLuint height, |
168 float device_scale) OVERRIDE; | 174 float device_scale) OVERRIDE; |
169 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; | 175 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; |
170 | 176 |
171 private: | 177 private: |
172 TestWebGraphicsContext3D* test_context_; | 178 TestWebGraphicsContext3D* test_context_; |
173 }; | 179 }; |
174 | 180 |
175 } // namespace cc | 181 } // namespace cc |
176 | 182 |
177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 183 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
OLD | NEW |