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

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: Drop was_created 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
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 ecc93a22559af837f8ca4a619749933cc62a2fd2..219411c82f0bfe5b4147b00f8b2113bbc320d361 100644
--- a/webkit/support/test_webkit_platform_support.h
+++ b/webkit/support/test_webkit_platform_support.h
@@ -22,6 +22,16 @@
class TestShellWebBlobRegistryImpl;
+namespace cc {
+class ContextProvider;
+}
+
+namespace webkit {
+namespace gpu {
+class TestContextProviderFactory;
+}
+}
+
namespace WebKit {
class WebAudioDevice;
class WebLayerTreeView;
@@ -84,6 +94,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 +188,9 @@ class TestWebKitPlatformSupport :
WebKit::Platform* shadow_platform_delegate_;
HyphenDict* hyphen_dictionary_;
+ webkit::gpu::TestContextProviderFactory* context_provider_factory_;
+ scoped_refptr<cc::ContextProvider> main_thread_contexts_;
+
#if defined(OS_WIN) || defined(OS_MACOSX)
WebKit::WebThemeEngine* active_theme_engine_;
#endif

Powered by Google App Engine
This is Rietveld 408576698