OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 unsigned format, | 68 unsigned format, |
69 unsigned type, | 69 unsigned type, |
70 unsigned access); | 70 unsigned access); |
71 virtual void unmapTexSubImage2DCHROMIUM(const void*); | 71 virtual void unmapTexSubImage2DCHROMIUM(const void*); |
72 virtual void copyTextureToParentTextureCHROMIUM( | 72 virtual void copyTextureToParentTextureCHROMIUM( |
73 unsigned texture, unsigned parentTexture); | 73 unsigned texture, unsigned parentTexture); |
74 | 74 |
75 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); | 75 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); |
76 virtual void requestExtensionCHROMIUM(const char*); | 76 virtual void requestExtensionCHROMIUM(const char*); |
77 | 77 |
| 78 virtual void blitFramebufferCHROMIUM( |
| 79 int srcX0, int srcY0, int srcX1, int srcY1, |
| 80 int dstX0, int dstY0, int dstX1, int dstY1, |
| 81 unsigned mask, unsigned filter); |
| 82 virtual void renderbufferStorageMultisampleCHROMIUM( |
| 83 unsigned long target, int samples, unsigned internalformat, |
| 84 unsigned width, unsigned height); |
| 85 |
78 virtual void activeTexture(unsigned long texture); | 86 virtual void activeTexture(unsigned long texture); |
79 virtual void attachShader(WebKit::WebGLId program, WebKit::WebGLId shader); | 87 virtual void attachShader(WebKit::WebGLId program, WebKit::WebGLId shader); |
80 virtual void bindAttribLocation( | 88 virtual void bindAttribLocation( |
81 WebKit::WebGLId program, unsigned long index, const char* name); | 89 WebKit::WebGLId program, unsigned long index, const char* name); |
82 virtual void bindBuffer(unsigned long target, WebKit::WebGLId buffer); | 90 virtual void bindBuffer(unsigned long target, WebKit::WebGLId buffer); |
83 virtual void bindFramebuffer( | 91 virtual void bindFramebuffer( |
84 unsigned long target, WebKit::WebGLId framebuffer); | 92 unsigned long target, WebKit::WebGLId framebuffer); |
85 virtual void bindRenderbuffer( | 93 virtual void bindRenderbuffer( |
86 unsigned long target, WebKit::WebGLId renderbuffer); | 94 unsigned long target, WebKit::WebGLId renderbuffer); |
87 virtual void bindTexture(unsigned long target, WebKit::WebGLId texture); | 95 virtual void bindTexture(unsigned long target, WebKit::WebGLId texture); |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 | 472 |
465 ShHandle fragment_compiler_; | 473 ShHandle fragment_compiler_; |
466 ShHandle vertex_compiler_; | 474 ShHandle vertex_compiler_; |
467 }; | 475 }; |
468 | 476 |
469 } // namespace gpu | 477 } // namespace gpu |
470 } // namespace webkit | 478 } // namespace webkit |
471 | 479 |
472 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 480 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
473 | 481 |
OLD | NEW |