Chromium Code Reviews| 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_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
| 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
| 7 | 7 |
| 8 #if defined(ENABLE_GPU) | 8 #if defined(ENABLE_GPU) |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 virtual bool makeContextCurrent(); | 71 virtual bool makeContextCurrent(); |
| 72 | 72 |
| 73 virtual int width(); | 73 virtual int width(); |
| 74 virtual int height(); | 74 virtual int height(); |
| 75 | 75 |
| 76 virtual bool isGLES2Compliant(); | 76 virtual bool isGLES2Compliant(); |
| 77 | 77 |
| 78 virtual bool setParentContext(WebGraphicsContext3D* parent_context); | 78 virtual bool setParentContext(WebGraphicsContext3D* parent_context); |
| 79 | 79 |
| 80 virtual void reshape(int width, int height); | 80 virtual void reshape(int width, int height); |
| 81 virtual void reshapeWithScaleFactor(int width, int height, float scaleFactor); | |
|
Ken Russell (switch to Gerrit)
2013/05/22 18:50:55
It looks like webgraphicscontext3d_in_process_impl
ccameron
2013/05/22 19:24:43
Totally missed that. Fixed.
| |
| 81 | 82 |
| 82 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size); | 83 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size); |
| 83 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, | 84 virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, |
| 84 WebGLId framebuffer, int width, int height); | 85 WebGLId framebuffer, int width, int height); |
| 85 | 86 |
| 86 virtual WebGLId getPlatformTextureId(); | 87 virtual WebGLId getPlatformTextureId(); |
| 87 virtual void prepareTexture(); | 88 virtual void prepareTexture(); |
| 88 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height); | 89 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height); |
| 89 | 90 |
| 90 virtual void activeTexture(WGC3Denum texture); | 91 virtual void activeTexture(WGC3Denum texture); |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 600 void FlipVertically(uint8* framebuffer, | 601 void FlipVertically(uint8* framebuffer, |
| 601 unsigned int width, | 602 unsigned int width, |
| 602 unsigned int height); | 603 unsigned int height); |
| 603 }; | 604 }; |
| 604 | 605 |
| 605 } // namespace gpu | 606 } // namespace gpu |
| 606 } // namespace webkit | 607 } // namespace webkit |
| 607 | 608 |
| 608 #endif // defined(ENABLE_GPU) | 609 #endif // defined(ENABLE_GPU) |
| 609 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 610 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
| OLD | NEW |