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.h

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.h
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h
index 969a7245060578b393d50448dbb026afce99cd0c..0301349e88bb2d270b2e1e1b014c4082ea4ea777 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -331,6 +331,7 @@ struct GLES2_UTILS_EXPORT ContextCreationAttribHelper {
bool fail_if_major_perf_caveat;
bool lose_context_when_out_of_memory;
bool should_use_native_gmb_for_backbuffer;
+ bool own_offscreen_surface;
ContextType context_type;
};
@@ -339,4 +340,3 @@ struct GLES2_UTILS_EXPORT ContextCreationAttribHelper {
} // namespace gpu
#endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
-

Powered by Google App Engine
This is Rietveld 408576698