OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 WebKit::WGC3Denum access); | 60 WebKit::WGC3Denum access); |
61 virtual void unmapTexSubImage2DCHROMIUM(const void*) {} | 61 virtual void unmapTexSubImage2DCHROMIUM(const void*) {} |
62 | 62 |
63 virtual void setVisibilityCHROMIUM(bool visible) {} | 63 virtual void setVisibilityCHROMIUM(bool visible) {} |
64 | 64 |
65 virtual void discardFramebufferEXT( | 65 virtual void discardFramebufferEXT( |
66 WebKit::WGC3Denum target, | 66 WebKit::WGC3Denum target, |
67 WebKit::WGC3Dsizei num_attachments, | 67 WebKit::WGC3Dsizei num_attachments, |
68 const WebKit::WGC3Denum* attachments) {} | 68 const WebKit::WGC3Denum* attachments) {} |
69 | 69 |
70 virtual void setMemoryAllocationChangedCallbackCHROMIUM( | |
71 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) {} | |
72 | |
73 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); | 70 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); |
74 virtual void requestExtensionCHROMIUM(const char*) {} | 71 virtual void requestExtensionCHROMIUM(const char*) {} |
75 | 72 |
76 virtual void blitFramebufferCHROMIUM( | 73 virtual void blitFramebufferCHROMIUM( |
77 WebKit::WGC3Dint src_x0, | 74 WebKit::WGC3Dint src_x0, |
78 WebKit::WGC3Dint src_y0, | 75 WebKit::WGC3Dint src_y0, |
79 WebKit::WGC3Dint src_x1, | 76 WebKit::WGC3Dint src_x1, |
80 WebKit::WGC3Dint src_y1, | 77 WebKit::WGC3Dint src_y1, |
81 WebKit::WGC3Dint dst_x0, | 78 WebKit::WGC3Dint dst_x0, |
82 WebKit::WGC3Dint dst_y0, | 79 WebKit::WGC3Dint dst_y0, |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 WebKit::WGC3Denum access); | 599 WebKit::WGC3Denum access); |
603 virtual void unmapImageCHROMIUM(WebKit::WGC3Duint image_id) {} | 600 virtual void unmapImageCHROMIUM(WebKit::WGC3Duint image_id) {} |
604 | 601 |
605 private: | 602 private: |
606 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D); | 603 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D); |
607 }; | 604 }; |
608 | 605 |
609 } // namespace cc | 606 } // namespace cc |
610 | 607 |
611 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ | 608 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |