| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(ENABLE_GPU) | 9 #if defined(ENABLE_GPU) |
| 10 | 10 |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 WebGLId parent_texture); | 451 WebGLId parent_texture); |
| 452 | 452 |
| 453 virtual void setContextLostCallback( | 453 virtual void setContextLostCallback( |
| 454 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); | 454 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); |
| 455 virtual WGC3Denum getGraphicsResetStatusARB(); | 455 virtual WGC3Denum getGraphicsResetStatusARB(); |
| 456 | 456 |
| 457 virtual void texImageIOSurface2DCHROMIUM( | 457 virtual void texImageIOSurface2DCHROMIUM( |
| 458 WGC3Denum target, WGC3Dint width, WGC3Dint height, | 458 WGC3Denum target, WGC3Dint width, WGC3Dint height, |
| 459 WGC3Duint ioSurfaceId, WGC3Duint plane); | 459 WGC3Duint ioSurfaceId, WGC3Duint plane); |
| 460 | 460 |
| 461 virtual void texStorage2DEXT( |
| 462 WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat, |
| 463 WGC3Dint width, WGC3Dint height); |
| 464 |
| 461 protected: | 465 protected: |
| 462 #if WEBKIT_USING_SKIA | 466 #if WEBKIT_USING_SKIA |
| 463 virtual GrGLInterface* onCreateGrGLInterface(); | 467 virtual GrGLInterface* onCreateGrGLInterface(); |
| 464 #endif | 468 #endif |
| 465 | 469 |
| 466 private: | 470 private: |
| 467 // SwapBuffers callback. | 471 // SwapBuffers callback. |
| 468 void OnSwapBuffersComplete(); | 472 void OnSwapBuffersComplete(); |
| 469 virtual void OnContextLost(); | 473 virtual void OnContextLost(); |
| 470 | 474 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 501 unsigned int width, | 505 unsigned int width, |
| 502 unsigned int height); | 506 unsigned int height); |
| 503 #endif | 507 #endif |
| 504 }; | 508 }; |
| 505 | 509 |
| 506 } // namespace gpu | 510 } // namespace gpu |
| 507 } // namespace webkit | 511 } // namespace webkit |
| 508 | 512 |
| 509 #endif // defined(ENABLE_GPU) | 513 #endif // defined(ENABLE_GPU) |
| 510 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 514 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
| OLD | NEW |