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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2698573002: Support offscreen contexts which own their backing surface (Closed)
Patch Set: Rebase and retry again Created 3 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: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index e110dce6b3b60f9ed220f5975658142144cf7969..12986c061e025d726991b7e7e776ca2ce77f1b90 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -314,6 +314,10 @@ void WebRuntimeFeatures::enableWebVR(bool enable) {
RuntimeEnabledFeatures::setWebVREnabled(enable);
}
+void WebRuntimeFeatures::enableWebVRExperimentalRendering(bool enable) {
+ RuntimeEnabledFeatures::setWebVRExperimentalRenderingEnabled(enable);
+}
+
void WebRuntimeFeatures::enablePresentationAPI(bool enable) {
RuntimeEnabledFeatures::setPresentationEnabled(enable);
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698