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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 2586803003: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: (ownsurface) add low_priority to buffer_traits 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/common/gles2_cmd_utils.cc
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
index 7d97aeb6c505b25dbf8e8dabd96b828852296661..a303da68204377027460640b12efcfa568040353 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -1881,6 +1881,8 @@ ContextCreationAttribHelper::ContextCreationAttribHelper()
fail_if_major_perf_caveat(false),
lose_context_when_out_of_memory(false),
should_use_native_gmb_for_backbuffer(false),
+ own_offscreen_surface(false),
+ low_priority(false),
context_type(CONTEXT_TYPE_OPENGLES2) {}
ContextCreationAttribHelper::ContextCreationAttribHelper(

Powered by Google App Engine
This is Rietveld 408576698