OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 virtual WGC3Denum getGraphicsResetStatusARB(); | 439 virtual WGC3Denum getGraphicsResetStatusARB(); |
440 | 440 |
441 virtual void setSwapBuffersCompleteCallbackCHROMIUM( | 441 virtual void setSwapBuffersCompleteCallbackCHROMIUM( |
442 WebGraphicsContext3D:: | 442 WebGraphicsContext3D:: |
443 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback) {} | 443 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback) {} |
444 | 444 |
445 virtual void texImageIOSurface2DCHROMIUM( | 445 virtual void texImageIOSurface2DCHROMIUM( |
446 WGC3Denum target, WGC3Dint width, WGC3Dint height, | 446 WGC3Denum target, WGC3Dint width, WGC3Dint height, |
447 WGC3Duint ioSurfaceId, WGC3Duint plane); | 447 WGC3Duint ioSurfaceId, WGC3Duint plane); |
448 | 448 |
| 449 virtual void texStorage2DEXT( |
| 450 WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat, |
| 451 WGC3Dint width, WGC3Dint height); |
| 452 |
449 protected: | 453 protected: |
450 #if WEBKIT_USING_SKIA | 454 #if WEBKIT_USING_SKIA |
451 virtual GrGLInterface* onCreateGrGLInterface(); | 455 virtual GrGLInterface* onCreateGrGLInterface(); |
452 #endif | 456 #endif |
453 | 457 |
454 private: | 458 private: |
455 // ANGLE related. | 459 // ANGLE related. |
456 struct ShaderSourceEntry; | 460 struct ShaderSourceEntry; |
457 | 461 |
458 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; | 462 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 ShHandle fragment_compiler_; | 523 ShHandle fragment_compiler_; |
520 ShHandle vertex_compiler_; | 524 ShHandle vertex_compiler_; |
521 gfx::PluginWindowHandle window_; | 525 gfx::PluginWindowHandle window_; |
522 scoped_refptr<gfx::GLShareGroup> share_group_; | 526 scoped_refptr<gfx::GLShareGroup> share_group_; |
523 }; | 527 }; |
524 | 528 |
525 } // namespace gpu | 529 } // namespace gpu |
526 } // namespace webkit | 530 } // namespace webkit |
527 | 531 |
528 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 532 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
OLD | NEW |