| 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_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
| 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 6 #define WEBKIT_COMMON_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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 WGC3Denum format, | 537 WGC3Denum format, |
| 538 WGC3Denum type, | 538 WGC3Denum type, |
| 539 const void* pixels); | 539 const void* pixels); |
| 540 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum target); | 540 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum target); |
| 541 | 541 |
| 542 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs); | 542 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs); |
| 543 | 543 |
| 544 virtual unsigned insertSyncPoint(); | 544 virtual unsigned insertSyncPoint(); |
| 545 virtual void signalSyncPoint(unsigned sync_point, | 545 virtual void signalSyncPoint(unsigned sync_point, |
| 546 WebGraphicsSyncPointCallback* callback); | 546 WebGraphicsSyncPointCallback* callback); |
| 547 virtual void signalQuery(unsigned query, |
| 548 WebGraphicsSyncPointCallback* callback); |
| 547 | 549 |
| 548 virtual void loseContextCHROMIUM(WGC3Denum current, WGC3Denum other); | 550 virtual void loseContextCHROMIUM(WGC3Denum current, WGC3Denum other); |
| 549 | 551 |
| 550 protected: | 552 protected: |
| 551 virtual GrGLInterface* onCreateGrGLInterface(); | 553 virtual GrGLInterface* onCreateGrGLInterface(); |
| 552 | 554 |
| 553 private: | 555 private: |
| 554 WebGraphicsContext3DInProcessCommandBufferImpl( | 556 WebGraphicsContext3DInProcessCommandBufferImpl( |
| 555 const WebKit::WebGraphicsContext3D::Attributes& attributes, | 557 const WebKit::WebGraphicsContext3D::Attributes& attributes, |
| 556 bool is_offscreen, | 558 bool is_offscreen, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 void FlipVertically(uint8* framebuffer, | 598 void FlipVertically(uint8* framebuffer, |
| 597 unsigned int width, | 599 unsigned int width, |
| 598 unsigned int height); | 600 unsigned int height); |
| 599 }; | 601 }; |
| 600 | 602 |
| 601 } // namespace gpu | 603 } // namespace gpu |
| 602 } // namespace webkit | 604 } // namespace webkit |
| 603 | 605 |
| 604 #endif // defined(ENABLE_GPU) | 606 #endif // defined(ENABLE_GPU) |
| 605 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL
_H_ | 607 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL
_H_ |
| OLD | NEW |