| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; | 170 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; |
| 171 void ProduceTextureDirectCHROMIUM(GLuint texture, | 171 void ProduceTextureDirectCHROMIUM(GLuint texture, |
| 172 GLenum target, | 172 GLenum target, |
| 173 const GLbyte* mailbox) override; | 173 const GLbyte* mailbox) override; |
| 174 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; | 174 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; |
| 175 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, | 175 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, |
| 176 const GLbyte* mailbox) override; | 176 const GLbyte* mailbox) override; |
| 177 | 177 |
| 178 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; | 178 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; |
| 179 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 179 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
| 180 GLboolean IsContextLost() override; |
| 180 | 181 |
| 181 private: | 182 private: |
| 182 TestWebGraphicsContext3D* test_context_; | 183 TestWebGraphicsContext3D* test_context_; |
| 183 }; | 184 }; |
| 184 | 185 |
| 185 } // namespace cc | 186 } // namespace cc |
| 186 | 187 |
| 187 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 188 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |