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

Unified Diff: gpu/command_buffer/service/service_utils.cc

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: Rebase, set dependency. Created 3 years, 11 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: gpu/command_buffer/service/service_utils.cc
diff --git a/gpu/command_buffer/service/service_utils.cc b/gpu/command_buffer/service/service_utils.cc
index e8642d762c6b79c85bd1a40e1d743181e439ea03..f140c831ff84ff2060e620cdd219bfe16f031a81 100644
--- a/gpu/command_buffer/service/service_utils.cc
+++ b/gpu/command_buffer/service/service_utils.cc
@@ -20,6 +20,9 @@ gl::GLContextAttribs GenerateGLContextAttribs(
attribs.webgl_compatibility_context =
IsWebGLContextType(attribs_helper.context_type);
}
+ if (attribs_helper.low_priority) {
+ attribs.low_priority = true;
+ }
return attribs;
}

Powered by Google App Engine
This is Rietveld 408576698