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

Unified Diff: cc/output/direct_renderer.h

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: tracing support 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: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 23314b43e0b8c83c97fff0eaebf426fde4a09f38..49315ca802202471cc15ca6286ceaacdd9686ed0 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_;
// Whether partial swap can be used.
bool use_partial_swap_;
+ // Whether overdraw feedback is enabled and can be used.
+ bool overdraw_feedback_;
// TODO(danakj): Just use a vector of pairs here? Hash map is way overkill.
std::unordered_map<int, std::unique_ptr<ScopedResource>>

Powered by Google App Engine
This is Rietveld 408576698