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

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

Issue 2461803002: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Drop unnecessary dependent patch Created 4 years, 1 month 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 817efc124367008ba1f9efdd241d5a69f192076d..8e5f22af50e6b5b8b7e3a53aad3c0f728278da63 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -1873,6 +1873,7 @@ 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),
context_type(CONTEXT_TYPE_OPENGLES2) {}
ContextCreationAttribHelper::ContextCreationAttribHelper(

Powered by Google App Engine
This is Rietveld 408576698