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

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

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.h
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h
index 8d0f16baba0fa205bdfa407f56a41ed171c6cd35..1df70feeb50bd92e13dd91078e433003f165b16d 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -328,6 +328,8 @@ 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;
+ bool low_priority;
ContextType context_type;
};
@@ -336,4 +338,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