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

Unified Diff: ui/gl/gl_context.h

Issue 2586803003: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Avoid segfault when there is no script context 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: ui/gl/gl_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index 542940c7683894bb857e311f97bbb53cf0102583..b9cc72287acdf14a7c850041db2daaa6ac6e1052 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -37,6 +37,7 @@ struct GLContextAttribs {
GpuPreference gpu_preference = PreferIntegratedGpu;
bool bind_generates_resource = true;
bool webgl_compatibility_context = false;
+ bool low_priority = false;
};
// Encapsulates an OpenGL context, hiding platform specific management.

Powered by Google App Engine
This is Rietveld 408576698