| 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_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
| 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 virtual void produceTextureDirectCHROMIUM(GLuint texture, | 192 virtual void produceTextureDirectCHROMIUM(GLuint texture, |
| 193 GLenum target, | 193 GLenum target, |
| 194 const GLbyte* mailbox) {} | 194 const GLbyte* mailbox) {} |
| 195 virtual void consumeTextureCHROMIUM(GLenum target, | 195 virtual void consumeTextureCHROMIUM(GLenum target, |
| 196 const GLbyte* mailbox) { } | 196 const GLbyte* mailbox) { } |
| 197 virtual GLuint createAndConsumeTextureCHROMIUM(GLenum target, | 197 virtual GLuint createAndConsumeTextureCHROMIUM(GLenum target, |
| 198 const GLbyte* mailbox); | 198 const GLbyte* mailbox); |
| 199 | 199 |
| 200 virtual void loseContextCHROMIUM(GLenum current, GLenum other); | 200 virtual void loseContextCHROMIUM(GLenum current, GLenum other); |
| 201 | 201 |
| 202 virtual void bindTexImage2DCHROMIUM(GLenum target, GLint image_id) {} | 202 virtual void bindTexImage2DCHROMIUM(GLenum target, |
| 203 GLint image_id, |
| 204 GLint fence_id) {} |
| 203 | 205 |
| 204 virtual void drawArrays(GLenum mode, GLint first, GLsizei count) {} | 206 virtual void drawArrays(GLenum mode, GLint first, GLsizei count) {} |
| 205 virtual void drawElements(GLenum mode, | 207 virtual void drawElements(GLenum mode, |
| 206 GLsizei count, | 208 GLsizei count, |
| 207 GLenum type, | 209 GLenum type, |
| 208 GLintptr offset) {} | 210 GLintptr offset) {} |
| 209 virtual void disable(GLenum cap) {} | 211 virtual void disable(GLenum cap) {} |
| 210 virtual void enable(GLenum cap) {} | 212 virtual void enable(GLenum cap) {} |
| 211 virtual void finish(); | 213 virtual void finish(); |
| 212 virtual void flush(); | 214 virtual void flush(); |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 | 485 |
| 484 scoped_refptr<Namespace> namespace_; | 486 scoped_refptr<Namespace> namespace_; |
| 485 static Namespace* shared_namespace_; | 487 static Namespace* shared_namespace_; |
| 486 | 488 |
| 487 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; | 489 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; |
| 488 }; | 490 }; |
| 489 | 491 |
| 490 } // namespace cc | 492 } // namespace cc |
| 491 | 493 |
| 492 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 494 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
| OLD | NEW |