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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 483 const WGC3Dchar* uniform); | 483 const WGC3Dchar* uniform); |
| 484 | 484 |
| 485 virtual void shallowFlushCHROMIUM(); | 485 virtual void shallowFlushCHROMIUM(); |
| 486 | 486 |
| 487 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); | 487 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); |
| 488 virtual void produceTextureCHROMIUM(WGC3Denum target, | 488 virtual void produceTextureCHROMIUM(WGC3Denum target, |
| 489 const WGC3Dbyte* mailbox); | 489 const WGC3Dbyte* mailbox); |
| 490 virtual void consumeTextureCHROMIUM(WGC3Denum target, | 490 virtual void consumeTextureCHROMIUM(WGC3Denum target, |
| 491 const WGC3Dbyte* mailbox); | 491 const WGC3Dbyte* mailbox); |
| 492 | 492 |
| 493 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); | |
| 494 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); | |
| 495 virtual void popGroupMarkerEXT(void); | |
|
apatrick_chromium
2012/08/15 18:53:52
(void) -> ()
| |
| 496 | |
| 493 protected: | 497 protected: |
| 494 virtual GrGLInterface* onCreateGrGLInterface(); | 498 virtual GrGLInterface* onCreateGrGLInterface(); |
| 495 | 499 |
| 496 private: | 500 private: |
| 497 // SwapBuffers callback. | 501 // SwapBuffers callback. |
| 498 void OnSwapBuffersComplete(); | 502 void OnSwapBuffersComplete(); |
| 499 virtual void OnContextLost(); | 503 virtual void OnContextLost(); |
| 500 | 504 |
| 501 // Used to try to find bugs in code that calls gl directly through the gl api | 505 // Used to try to find bugs in code that calls gl directly through the gl api |
| 502 // instead of going through WebGraphicsContext3D. | 506 // instead of going through WebGraphicsContext3D. |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 525 unsigned int width, | 529 unsigned int width, |
| 526 unsigned int height); | 530 unsigned int height); |
| 527 #endif | 531 #endif |
| 528 }; | 532 }; |
| 529 | 533 |
| 530 } // namespace gpu | 534 } // namespace gpu |
| 531 } // namespace webkit | 535 } // namespace webkit |
| 532 | 536 |
| 533 #endif // defined(ENABLE_GPU) | 537 #endif // defined(ENABLE_GPU) |
| 534 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 538 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
| OLD | NEW |