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

Unified Diff: cc/debug/debug_colors.cc

Issue 1774533002: Set debug color for borders of compressed tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « cc/debug/debug_colors.h ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_colors.cc
diff --git a/cc/debug/debug_colors.cc b/cc/debug/debug_colors.cc
index 55d7119818e8415360621b30165b773872fd41e5..564452d9ede611215ff717c676e1e789f8f146a3 100644
--- a/cc/debug/debug_colors.cc
+++ b/cc/debug/debug_colors.cc
@@ -146,6 +146,14 @@ int DebugColors::DirectPictureBorderWidth(const LayerTreeImpl* tree_impl) {
return Scale(1, tree_impl);
}
+// Compressed tile borders are blue.
+SkColor DebugColors::CompressedTileBorderColor() {
+ return SkColorSetARGB(100, 20, 20, 240);
+}
+int DebugColors::CompressedTileBorderWidth(const LayerTreeImpl* tree_impl) {
+ return Scale(2, tree_impl);
+}
+
// ======= Checkerboard colors =======
// Non-debug checkerboards are grey.
« no previous file with comments | « cc/debug/debug_colors.h ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698