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

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

Issue 2761153002: Ignore custom offscreen surface unless explicitly opted in (Closed)
Patch Set: Make "own offscreen surface" support explicit with its own attribute. Created 3 years, 9 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
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2d378a93e438be26ffacc1cef5986154612475f7..cd74561267a6a060d8caba9bd198c042d9fc0a72 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -333,6 +333,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;
};
@@ -341,4 +342,3 @@ struct GLES2_UTILS_EXPORT ContextCreationAttribHelper {
} // namespace gpu
#endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
-
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698