| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 virtual int width(); | 66 virtual int width(); |
| 67 virtual int height(); | 67 virtual int height(); |
| 68 | 68 |
| 69 virtual bool isGLES2Compliant(); | 69 virtual bool isGLES2Compliant(); |
| 70 | 70 |
| 71 virtual bool setParentContext(WebGraphicsContext3D* parent_context); | 71 virtual bool setParentContext(WebGraphicsContext3D* parent_context); |
| 72 | 72 |
| 73 virtual void reshape(int width, int height); | 73 virtual void reshape(int width, int height); |
| 74 | 74 |
| 75 virtual void setVisibility(bool visible); |
| 76 |
| 75 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize); | 77 virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize); |
| 76 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, | 78 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, |
| 77 WebGLId framebuffer, int width, int height); | 79 WebGLId framebuffer, int width, int height); |
| 78 | 80 |
| 79 virtual WebGLId getPlatformTextureId(); | 81 virtual WebGLId getPlatformTextureId(); |
| 80 virtual void prepareTexture(); | 82 virtual void prepareTexture(); |
| 81 | 83 |
| 82 virtual void synthesizeGLError(WGC3Denum error); | 84 virtual void synthesizeGLError(WGC3Denum error); |
| 83 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, | 85 virtual void* mapBufferSubDataCHROMIUM(WGC3Denum target, WGC3Dintptr offset, |
| 84 WGC3Dsizeiptr size, WGC3Denum access); | 86 WGC3Dsizeiptr size, WGC3Denum access); |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 492 |
| 491 ShHandle fragment_compiler_; | 493 ShHandle fragment_compiler_; |
| 492 ShHandle vertex_compiler_; | 494 ShHandle vertex_compiler_; |
| 493 gfx::PluginWindowHandle window_; | 495 gfx::PluginWindowHandle window_; |
| 494 }; | 496 }; |
| 495 | 497 |
| 496 } // namespace gpu | 498 } // namespace gpu |
| 497 } // namespace webkit | 499 } // namespace webkit |
| 498 | 500 |
| 499 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 501 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
| OLD | NEW |