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

Unified Diff: webkit/support/test_webkit_platform_support.h

Issue 12217099: Implement the Platform::sharedOffscreenGraphicsContext3D method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no factory member vars Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/gpu/webkit_gpu.gypi ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.h
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h
index a087d0ac9264818662ebe0e389f8685dd3381ec5..fc7a673c7d37cbf8b537efe50ce40d258d49b6bd 100644
--- a/webkit/support/test_webkit_platform_support.h
+++ b/webkit/support/test_webkit_platform_support.h
@@ -22,6 +22,10 @@
class TestShellWebBlobRegistryImpl;
+namespace cc {
+class ContextProvider;
+}
+
namespace WebKit {
class WebAudioDevice;
class WebLayerTreeView;
@@ -84,6 +88,8 @@ class TestWebKitPlatformSupport :
virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes&);
+ virtual WebKit::WebGraphicsContext3D* sharedOffscreenGraphicsContext3D();
+ virtual GrContext* sharedOffscreenGrContext();
virtual bool canAccelerate2dCanvas();
WebURLLoaderMockFactory* url_loader_factory() {
@@ -176,6 +182,8 @@ class TestWebKitPlatformSupport :
WebKit::Platform* shadow_platform_delegate_;
HyphenDict* hyphen_dictionary_;
+ scoped_refptr<cc::ContextProvider> main_thread_contexts_;
+
#if defined(OS_WIN) || defined(OS_MACOSX)
WebKit::WebThemeEngine* active_theme_engine_;
#endif
« no previous file with comments | « webkit/gpu/webkit_gpu.gypi ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698