| 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_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
| 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 virtual WebGLId createQueryEXT(); | 465 virtual WebGLId createQueryEXT(); |
| 466 virtual void deleteQueryEXT(WebGLId query); | 466 virtual void deleteQueryEXT(WebGLId query); |
| 467 virtual WGC3Dboolean isQueryEXT(WebGLId query); | 467 virtual WGC3Dboolean isQueryEXT(WebGLId query); |
| 468 virtual void beginQueryEXT(WGC3Denum target, WebGLId query); | 468 virtual void beginQueryEXT(WGC3Denum target, WebGLId query); |
| 469 virtual void endQueryEXT(WGC3Denum target); | 469 virtual void endQueryEXT(WGC3Denum target); |
| 470 virtual void getQueryivEXT( | 470 virtual void getQueryivEXT( |
| 471 WGC3Denum target, WGC3Denum pname, WGC3Dint* params); | 471 WGC3Denum target, WGC3Denum pname, WGC3Dint* params); |
| 472 virtual void getQueryObjectuivEXT( | 472 virtual void getQueryObjectuivEXT( |
| 473 WebGLId query, WGC3Denum pname, WGC3Duint* params); | 473 WebGLId query, WGC3Denum pname, WGC3Duint* params); |
| 474 | 474 |
| 475 virtual void copyTextureCHROMIUM(WGC3Denum target, WebGLId source_id, | 475 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id, |
| 476 WebGLId dest_id, WGC3Dint level, | 476 WGC3Duint dest_id, WGC3Dint level, |
| 477 WGC3Denum internal_format); | 477 WGC3Denum internal_format); |
| 478 | 478 |
| 479 protected: | 479 protected: |
| 480 virtual GrGLInterface* onCreateGrGLInterface(); | 480 virtual GrGLInterface* onCreateGrGLInterface(); |
| 481 | 481 |
| 482 private: | 482 private: |
| 483 bool Initialize(Attributes attributes); | 483 bool Initialize(Attributes attributes); |
| 484 | 484 |
| 485 // ANGLE related. | 485 // ANGLE related. |
| 486 struct ShaderSourceEntry; | 486 struct ShaderSourceEntry; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 ShaderSourceMap shader_source_map_; | 547 ShaderSourceMap shader_source_map_; |
| 548 | 548 |
| 549 ShHandle fragment_compiler_; | 549 ShHandle fragment_compiler_; |
| 550 ShHandle vertex_compiler_; | 550 ShHandle vertex_compiler_; |
| 551 }; | 551 }; |
| 552 | 552 |
| 553 } // namespace gpu | 553 } // namespace gpu |
| 554 } // namespace webkit | 554 } // namespace webkit |
| 555 | 555 |
| 556 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 556 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
| OLD | NEW |