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

Side by Side Diff: cc/debug/debug_colors.h

Issue 474783002: HUD: Show first paint invalidation in red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compilefix Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/debug_colors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_DEBUG_DEBUG_COLORS_H_ 5 #ifndef CC_DEBUG_DEBUG_COLORS_H_
6 #define CC_DEBUG_DEBUG_COLORS_H_ 6 #define CC_DEBUG_DEBUG_COLORS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 static int PictureTileBorderWidth(const LayerTreeImpl* tree_impl); 60 static int PictureTileBorderWidth(const LayerTreeImpl* tree_impl);
61 61
62 static SkColor DirectPictureBorderColor(); 62 static SkColor DirectPictureBorderColor();
63 static int DirectPictureBorderWidth(const LayerTreeImpl* tree_impl); 63 static int DirectPictureBorderWidth(const LayerTreeImpl* tree_impl);
64 64
65 static SkColor DefaultCheckerboardColor(); 65 static SkColor DefaultCheckerboardColor();
66 static SkColor EvictedTileCheckerboardColor(); 66 static SkColor EvictedTileCheckerboardColor();
67 static SkColor InvalidatedTileCheckerboardColor(); 67 static SkColor InvalidatedTileCheckerboardColor();
68 68
69 static const int kFadeSteps = 50; 69 static const int kFadeSteps = 50;
70 static SkColor PaintRectBorderColor(int step); 70 static SkColor PaintRectBorderColor(int step, bool is_first_paint);
71 static int PaintRectBorderWidth(); 71 static int PaintRectBorderWidth();
72 static SkColor PaintRectFillColor(int step); 72 static SkColor PaintRectFillColor(int step, bool is_first_paint);
73 73
74 static SkColor PropertyChangedRectBorderColor(); 74 static SkColor PropertyChangedRectBorderColor();
75 static int PropertyChangedRectBorderWidth(); 75 static int PropertyChangedRectBorderWidth();
76 static SkColor PropertyChangedRectFillColor(); 76 static SkColor PropertyChangedRectFillColor();
77 77
78 static SkColor SurfaceDamageRectBorderColor(); 78 static SkColor SurfaceDamageRectBorderColor();
79 static int SurfaceDamageRectBorderWidth(); 79 static int SurfaceDamageRectBorderWidth();
80 static SkColor SurfaceDamageRectFillColor(); 80 static SkColor SurfaceDamageRectFillColor();
81 81
82 static SkColor ScreenSpaceLayerRectBorderColor(); 82 static SkColor ScreenSpaceLayerRectBorderColor();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 static SkColor MemoryDisplayTextColor(); 129 static SkColor MemoryDisplayTextColor();
130 static SkColor PaintTimeDisplayTextAndGraphColor(); 130 static SkColor PaintTimeDisplayTextAndGraphColor();
131 131
132 private: 132 private:
133 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); 133 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors);
134 }; 134 };
135 135
136 } // namespace cc 136 } // namespace cc
137 137
138 #endif // CC_DEBUG_DEBUG_COLORS_H_ 138 #endif // CC_DEBUG_DEBUG_COLORS_H_
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/debug_colors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698