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(WGC3Dint location, WGC3Denum target); |
| 487 virtual void unsubscribeUniformCHROMIUM(WGC3Dint location); |
| 488 virtual void populateSubscribedUniformsCHROMIUM(); |
| 489 |
486 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); | 490 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); |
487 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); | 491 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); |
488 virtual void popGroupMarkerEXT(); | 492 virtual void popGroupMarkerEXT(); |
489 | 493 |
490 // GL_OES_vertex_array_object | 494 // GL_OES_vertex_array_object |
491 virtual WebGLId createVertexArrayOES(); | 495 virtual WebGLId createVertexArrayOES(); |
492 virtual void deleteVertexArrayOES(WebGLId array); | 496 virtual void deleteVertexArrayOES(WebGLId array); |
493 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); | 497 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); |
494 virtual void bindVertexArrayOES(WebGLId array); | 498 virtual void bindVertexArrayOES(WebGLId array); |
495 | 499 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 | 597 |
594 ::gpu::gles2::GLES2Interface* gl_; | 598 ::gpu::gles2::GLES2Interface* gl_; |
595 bool lose_context_when_out_of_memory_; | 599 bool lose_context_when_out_of_memory_; |
596 uint32_t flush_id_; | 600 uint32_t flush_id_; |
597 }; | 601 }; |
598 | 602 |
599 } // namespace gpu | 603 } // namespace gpu |
600 } // namespace webkit | 604 } // namespace webkit |
601 | 605 |
602 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 606 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |