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

Unified Diff: cc/output/direct_renderer.h

Issue 2829543003: gpu: Empty swaps for surfaceless output surfaces. (Closed)
Patch Set: fix cc_unittests 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
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | cc/output/direct_renderer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 96e66133c2019fc156bbaa4ec8d8b21058c133cf..d3423c96478ab1e3c235b45827bbe475976dee67 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -188,6 +188,8 @@ class CC_EXPORT DirectRenderer {
bool allow_empty_swap_ = false;
// Whether partial swap can be used.
bool use_partial_swap_ = false;
Daniele Castagna 2017/04/19 19:10:36 This names are a little bit confusing, or at least
reveman 2017/04/19 23:59:03 Sure. Either use_post_sub_buffer or use_sub_buffer
+ // Whether non-empty partial swap should be allowed.
+ bool allow_partial_swap_ = false;
// Whether overdraw feedback is enabled and can be used.
bool overdraw_feedback_ = false;
// Whether the SetDrawRectangle and EnableDCLayers commands are in
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | cc/output/direct_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698