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

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

Issue 2698573002: Support offscreen contexts which own their backing surface (Closed)
Patch Set: Remove obsolete comment, reformat 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: 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 6eb9b8e0827283f571e4fe4879ce80b9f9a90feb..671f1eb13637178540cb2306f72bf2e4bf3f3937 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -1893,6 +1893,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