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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 WebGLId parent_texture); | 454 WebGLId parent_texture); |
455 | 455 |
456 virtual void setContextLostCallback( | 456 virtual void setContextLostCallback( |
457 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); | 457 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); |
458 virtual WGC3Denum getGraphicsResetStatusARB(); | 458 virtual WGC3Denum getGraphicsResetStatusARB(); |
459 | 459 |
460 virtual void texImageIOSurface2DCHROMIUM( | 460 virtual void texImageIOSurface2DCHROMIUM( |
461 WGC3Denum target, WGC3Dint width, WGC3Dint height, | 461 WGC3Denum target, WGC3Dint width, WGC3Dint height, |
462 WGC3Duint ioSurfaceId, WGC3Duint plane); | 462 WGC3Duint ioSurfaceId, WGC3Duint plane); |
463 | 463 |
| 464 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId); |
| 465 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId); |
| 466 |
464 virtual void texStorage2DEXT( | 467 virtual void texStorage2DEXT( |
465 WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat, | 468 WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat, |
466 WGC3Dint width, WGC3Dint height); | 469 WGC3Dint width, WGC3Dint height); |
467 | 470 |
468 virtual WebGLId createQueryEXT(); | 471 virtual WebGLId createQueryEXT(); |
469 virtual void deleteQueryEXT(WebGLId query); | 472 virtual void deleteQueryEXT(WebGLId query); |
470 virtual WGC3Dboolean isQueryEXT(WebGLId query); | 473 virtual WGC3Dboolean isQueryEXT(WebGLId query); |
471 virtual void beginQueryEXT(WGC3Denum target, WebGLId query); | 474 virtual void beginQueryEXT(WGC3Denum target, WebGLId query); |
472 virtual void endQueryEXT(WGC3Denum target); | 475 virtual void endQueryEXT(WGC3Denum target); |
473 virtual void getQueryivEXT( | 476 virtual void getQueryivEXT( |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 unsigned int width, | 532 unsigned int width, |
530 unsigned int height); | 533 unsigned int height); |
531 #endif | 534 #endif |
532 }; | 535 }; |
533 | 536 |
534 } // namespace gpu | 537 } // namespace gpu |
535 } // namespace webkit | 538 } // namespace webkit |
536 | 539 |
537 #endif // defined(ENABLE_GPU) | 540 #endif // defined(ENABLE_GPU) |
538 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 541 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |