| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 const GLenum* attachments) override; | 150 const GLenum* attachments) override; |
| 151 void GenMailboxCHROMIUM(GLbyte* mailbox) override; | 151 void GenMailboxCHROMIUM(GLbyte* mailbox) override; |
| 152 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; | 152 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; |
| 153 void ProduceTextureDirectCHROMIUM(GLuint texture, | 153 void ProduceTextureDirectCHROMIUM(GLuint texture, |
| 154 GLenum target, | 154 GLenum target, |
| 155 const GLbyte* mailbox) override; | 155 const GLbyte* mailbox) override; |
| 156 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; | 156 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; |
| 157 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, | 157 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, |
| 158 const GLbyte* mailbox) override; | 158 const GLbyte* mailbox) override; |
| 159 | 159 |
| 160 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; | 160 void ResizeCHROMIUM(GLuint width, |
| 161 GLuint height, |
| 162 float device_scale, |
| 163 GLboolean has_alpha) override; |
| 161 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 164 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
| 162 GLenum GetGraphicsResetStatusKHR() override; | 165 GLenum GetGraphicsResetStatusKHR() override; |
| 163 | 166 |
| 164 private: | 167 private: |
| 165 TestWebGraphicsContext3D* test_context_; | 168 TestWebGraphicsContext3D* test_context_; |
| 166 }; | 169 }; |
| 167 | 170 |
| 168 } // namespace cc | 171 } // namespace cc |
| 169 | 172 |
| 170 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 173 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |