Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: cc/debug/fake_web_graphics_context_3d.h

Issue 20185002: ContextProvider in OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: contextprovider: don't access Context3d() in OutputSurface contructors, it's not bound yet Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/DEPS ('k') | cc/debug/test_context_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/DEPS ('k') | cc/debug/test_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698