| 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 genValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids); |
| 487 virtual WebGLId createValuebufferCHROMIUM(); |
| 488 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids); |
| 489 virtual void deleteValuebufferCHROMIUM(WebGLId); |
| 490 virtual void bindValuebufferCHROMIUM(WGC3Denum target, WebGLId valuebuffer); |
| 491 virtual WGC3Dboolean isValuebufferCHROMIUM(WebGLId renderbuffer); |
| 492 virtual void subscribeValueCHROMIUM(WGC3Denum target, WGC3Denum subscription); |
| 493 virtual void populateSubscribedValuesCHROMIUM(WGC3Denum target); |
| 494 virtual void uniformValuebufferCHROMIUM(WGC3Dint location, |
| 495 WGC3Denum target, |
| 496 WGC3Denum subscription); |
| 497 |
| 486 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); | 498 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); |
| 487 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); | 499 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); |
| 488 virtual void popGroupMarkerEXT(); | 500 virtual void popGroupMarkerEXT(); |
| 489 | 501 |
| 490 // GL_OES_vertex_array_object | 502 // GL_OES_vertex_array_object |
| 491 virtual WebGLId createVertexArrayOES(); | 503 virtual WebGLId createVertexArrayOES(); |
| 492 virtual void deleteVertexArrayOES(WebGLId array); | 504 virtual void deleteVertexArrayOES(WebGLId array); |
| 493 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); | 505 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); |
| 494 virtual void bindVertexArrayOES(WebGLId array); | 506 virtual void bindVertexArrayOES(WebGLId array); |
| 495 | 507 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 | 605 |
| 594 ::gpu::gles2::GLES2Interface* gl_; | 606 ::gpu::gles2::GLES2Interface* gl_; |
| 595 bool lose_context_when_out_of_memory_; | 607 bool lose_context_when_out_of_memory_; |
| 596 uint32_t flush_id_; | 608 uint32_t flush_id_; |
| 597 }; | 609 }; |
| 598 | 610 |
| 599 } // namespace gpu | 611 } // namespace gpu |
| 600 } // namespace webkit | 612 } // namespace webkit |
| 601 | 613 |
| 602 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 614 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
| OLD | NEW |