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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 | 468 |
469 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, | 469 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, |
470 const WGC3Dchar* uniform); | 470 const WGC3Dchar* uniform); |
471 | 471 |
472 virtual void shallowFlushCHROMIUM(); | 472 virtual void shallowFlushCHROMIUM(); |
473 virtual void shallowFinishCHROMIUM(); | 473 virtual void shallowFinishCHROMIUM(); |
474 | 474 |
475 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); | 475 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); |
476 virtual void produceTextureCHROMIUM(WGC3Denum target, | 476 virtual void produceTextureCHROMIUM(WGC3Denum target, |
477 const WGC3Dbyte* mailbox); | 477 const WGC3Dbyte* mailbox); |
| 478 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, |
| 479 const WGC3Dbyte* mailbox); |
478 virtual void consumeTextureCHROMIUM(WGC3Denum target, | 480 virtual void consumeTextureCHROMIUM(WGC3Denum target, |
479 const WGC3Dbyte* mailbox); | 481 const WGC3Dbyte* mailbox); |
| 482 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target, |
| 483 const WGC3Dbyte* mailbox); |
480 | 484 |
481 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); | 485 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); |
482 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); | 486 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); |
483 virtual void popGroupMarkerEXT(); | 487 virtual void popGroupMarkerEXT(); |
484 | 488 |
485 // GL_OES_vertex_array_object | 489 // GL_OES_vertex_array_object |
486 virtual WebGLId createVertexArrayOES(); | 490 virtual WebGLId createVertexArrayOES(); |
487 virtual void deleteVertexArrayOES(WebGLId array); | 491 virtual void deleteVertexArrayOES(WebGLId array); |
488 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); | 492 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); |
489 virtual void bindVertexArrayOES(WebGLId array); | 493 virtual void bindVertexArrayOES(WebGLId array); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 | 595 |
592 ::gpu::gles2::GLES2Interface* gl_; | 596 ::gpu::gles2::GLES2Interface* gl_; |
593 bool lose_context_when_out_of_memory_; | 597 bool lose_context_when_out_of_memory_; |
594 uint32_t flush_id_; | 598 uint32_t flush_id_; |
595 }; | 599 }; |
596 | 600 |
597 } // namespace gpu | 601 } // namespace gpu |
598 } // namespace webkit | 602 } // namespace webkit |
599 | 603 |
600 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 604 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |