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

Unified Diff: cc/debug_colors.cc

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_colors.h ('k') | cc/draw_quad.h » ('j') | cc/draw_quad.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug_colors.cc
diff --git a/cc/debug_colors.cc b/cc/debug_colors.cc
index 8c998fe41ef9bf2bc8ff8520ea0f78fa91c2ff12..a79ea4a2366c9422f941f57bd541d8dffebd22c4 100644
--- a/cc/debug_colors.cc
+++ b/cc/debug_colors.cc
@@ -72,6 +72,10 @@ int DebugColors::CulledTileBorderWidth(const LayerTreeImpl* tree_impl) { return
SkColor DebugColors::SolidColorTileBorderColor() { return SkColorSetARGB(128, 128, 128, 128); }
int DebugColors::SolidColorTileBorderWidth(const LayerTreeImpl* tree_impl) { return Scale(1, tree_impl); }
+// Picture tile borders are dark grey.
+SkColor DebugColors::PictureTileBorderColor() { return SkColorSetARGB(64, 64, 64, 0); }
+int DebugColors::PictureTileBorderWidth(const LayerTreeImpl* tree_impl) { return Scale(1, tree_impl); }
+
// ======= Checkerboard colors =======
// Non-debug checkerboards are grey.
« no previous file with comments | « cc/debug_colors.h ('k') | cc/draw_quad.h » ('j') | cc/draw_quad.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698