| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 const GLenum* attachments) OVERRIDE; | 158 const GLenum* attachments) OVERRIDE; |
| 159 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) OVERRIDE; | 159 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) OVERRIDE; |
| 160 virtual void ProduceTextureCHROMIUM(GLenum target, | 160 virtual void ProduceTextureCHROMIUM(GLenum target, |
| 161 const GLbyte* mailbox) OVERRIDE; | 161 const GLbyte* mailbox) OVERRIDE; |
| 162 virtual void ConsumeTextureCHROMIUM(GLenum target, | 162 virtual void ConsumeTextureCHROMIUM(GLenum target, |
| 163 const GLbyte* mailbox) OVERRIDE; | 163 const GLbyte* mailbox) OVERRIDE; |
| 164 | 164 |
| 165 virtual void ResizeCHROMIUM(GLuint width, | 165 virtual void ResizeCHROMIUM(GLuint width, |
| 166 GLuint height, | 166 GLuint height, |
| 167 float device_scale) OVERRIDE; | 167 float device_scale) OVERRIDE; |
| 168 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; |
| 168 | 169 |
| 169 private: | 170 private: |
| 170 TestWebGraphicsContext3D* test_context_; | 171 TestWebGraphicsContext3D* test_context_; |
| 171 }; | 172 }; |
| 172 | 173 |
| 173 } // namespace cc | 174 } // namespace cc |
| 174 | 175 |
| 175 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 176 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
| OLD | NEW |