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

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

Issue 2829543003: gpu: Empty swaps for surfaceless output surfaces. (Closed)
Patch Set: new workaround Created 3 years, 8 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/capabilities.h
diff --git a/gpu/command_buffer/common/capabilities.h b/gpu/command_buffer/common/capabilities.h
index 41ab8efd591bcd351787a12d92f5590e4cd80e45..410f65c3771a5b7bae54f118c3bb9128a544097c 100644
--- a/gpu/command_buffer/common/capabilities.h
+++ b/gpu/command_buffer/common/capabilities.h
@@ -172,6 +172,9 @@ struct GPU_EXPORT Capabilities {
// See https://crbug.com/710029.
bool software_to_accelerated_canvas_upgrade = true;
+ // When true, non-empty post sub buffer calls are unsupported.
+ bool disable_non_empty_post_sub_buffers = false;
+
int major_version = 2;
int minor_version = 0;
};

Powered by Google App Engine
This is Rietveld 408576698