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

Unified Diff: cc/debug/debug_colors.cc

Issue 941433002: cc: Remove unused PictureDrawQuad support from GLRenderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm-picturedrawquad: . Created 5 years, 10 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/debug/debug_colors.cc
diff --git a/cc/debug/debug_colors.cc b/cc/debug/debug_colors.cc
index daec5cc21598cf4a4d64e058a704a1fa9fb78d3f..38ecf54c8534e482ca50e475c37e71a698611d45 100644
--- a/cc/debug/debug_colors.cc
+++ b/cc/debug/debug_colors.cc
@@ -114,9 +114,9 @@ int DebugColors::ExtraLowResTileBorderWidth(const LayerTreeImpl* tree_impl) {
return Scale(2, tree_impl);
}
-// Missing tile borders are red.
+// Missing tile borders are dark grey.
SkColor DebugColors::MissingTileBorderColor() {
- return SkColorSetARGB(100, 255, 0, 0);
+ return SkColorSetARGB(64, 64, 64, 0);
}
int DebugColors::MissingTileBorderWidth(const LayerTreeImpl* tree_impl) {
return Scale(1, tree_impl);
@@ -130,11 +130,11 @@ 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);
+// OOM tile borders are red.
enne (OOO) 2015/02/18 22:32:27 style nit: Can you be consistent with the rest of
danakj 2015/02/18 22:33:59 LOL :D Sry copypasta
+SkColor DebugColors::OOMTileBorderColor() {
+ return SkColorSetARGB(100, 255, 0, 0);
}
-int DebugColors::PictureTileBorderWidth(const LayerTreeImpl* tree_impl) {
+int DebugColors::OOMTileBorderWidth(const LayerTreeImpl* tree_impl) {
return Scale(1, tree_impl);
}
« cc/BUILD.gn ('K') | « 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