OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); | 476 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); |
477 virtual void produceTextureCHROMIUM(WGC3Denum target, | 477 virtual void produceTextureCHROMIUM(WGC3Denum target, |
478 const WGC3Dbyte* mailbox); | 478 const WGC3Dbyte* mailbox); |
479 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, | 479 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, |
480 const WGC3Dbyte* mailbox); | 480 const WGC3Dbyte* mailbox); |
481 virtual void consumeTextureCHROMIUM(WGC3Denum target, | 481 virtual void consumeTextureCHROMIUM(WGC3Denum target, |
482 const WGC3Dbyte* mailbox); | 482 const WGC3Dbyte* mailbox); |
483 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target, | 483 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target, |
484 const WGC3Dbyte* mailbox); | 484 const WGC3Dbyte* mailbox); |
485 | 485 |
| 486 virtual void subscribeUniformCHROMIUM(WGC3Denum target, |
| 487 const WGC3Dchar* name); |
| 488 |
486 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); | 489 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); |
487 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); | 490 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); |
488 virtual void popGroupMarkerEXT(); | 491 virtual void popGroupMarkerEXT(); |
489 | 492 |
490 // GL_OES_vertex_array_object | 493 // GL_OES_vertex_array_object |
491 virtual WebGLId createVertexArrayOES(); | 494 virtual WebGLId createVertexArrayOES(); |
492 virtual void deleteVertexArrayOES(WebGLId array); | 495 virtual void deleteVertexArrayOES(WebGLId array); |
493 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); | 496 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); |
494 virtual void bindVertexArrayOES(WebGLId array); | 497 virtual void bindVertexArrayOES(WebGLId array); |
495 | 498 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 | 596 |
594 ::gpu::gles2::GLES2Interface* gl_; | 597 ::gpu::gles2::GLES2Interface* gl_; |
595 bool lose_context_when_out_of_memory_; | 598 bool lose_context_when_out_of_memory_; |
596 uint32_t flush_id_; | 599 uint32_t flush_id_; |
597 }; | 600 }; |
598 | 601 |
599 } // namespace gpu | 602 } // namespace gpu |
600 } // namespace webkit | 603 } // namespace webkit |
601 | 604 |
602 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 605 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |