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