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

Issue 121223002: DevTools: Change paint rectangles' colors in compositor to shades of green. (Closed)

Created:
6 years, 12 months ago by malch
Modified:
6 years, 10 months ago
Reviewers:
danakj, caseq, nduca, pfeldman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Change paint rectangles' colors in compositor to shades of green. Review URL: https://codereview.chromium.org/121223002 BUG=324535 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251053

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed code style. #

Total comments: 3

Patch Set 3 : Made refactoring. Moved cycling logic to HUD code. #

Patch Set 4 : Small refactorings. #

Total comments: 1

Patch Set 5 : Refactored cycling logic. #

Total comments: 2

Patch Set 6 : Made cycling counter a member of class. #

Patch Set 7 : Made colors closer in hue space. #

Total comments: 3

Patch Set 8 : Fixed small issues. #

Patch Set 9 : Removed 'mutable' modifier. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -15 lines) Patch
cc/debug/debug_colors.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
cc/debug/debug_colors.cc View 1 2 3 4 5 6 7 2 chunks +17 lines, -5 lines 0 comments Download
cc/layers/heads_up_display_layer_impl.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
cc/layers/heads_up_display_layer_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
malch
6 years, 12 months ago (2013-12-26 10:13:21 UTC) #1
caseq
Overall looks good, but please fix style nits. +Nat for owners. https://codereview.chromium.org/121223002/diff/1/cc/debug/debug_colors.cc File cc/debug/debug_colors.cc (right): ...
6 years, 12 months ago (2013-12-27 09:44:10 UTC) #2
tomhudson
Is there a bug that explains why we're making this change? If not, can it ...
6 years, 12 months ago (2013-12-27 09:50:10 UTC) #3
malch
On 2013/12/27 09:50:10, tomhudson wrote: > Is there a bug that explains why we're making ...
6 years, 12 months ago (2013-12-27 09:58:39 UTC) #4
malch
6 years, 12 months ago (2013-12-27 09:58:49 UTC) #5
caseq
Tom, besides the idea that we want to cycle colors (as we used to do ...
6 years, 12 months ago (2013-12-27 10:03:55 UTC) #6
danakj
https://codereview.chromium.org/121223002/diff/70001/cc/debug/debug_colors.cc File cc/debug/debug_colors.cc (right): https://codereview.chromium.org/121223002/diff/70001/cc/debug/debug_colors.cc#newcode11 cc/debug/debug_colors.cc:11: static int s_paintRectColors[][3] = { these should actually be ...
6 years, 11 months ago (2014-01-06 20:38:27 UTC) #7
nduca
lgtm on architecture and change-being-the-right-thing side. Dana should give a final lg for style ec
6 years, 11 months ago (2014-01-08 18:06:36 UTC) #8
nduca
On 2014/01/06 20:38:27, danakj wrote: > https://codereview.chromium.org/121223002/diff/70001/cc/debug/debug_colors.cc > File cc/debug/debug_colors.cc (right): > > https://codereview.chromium.org/121223002/diff/70001/cc/debug/debug_colors.cc#newcode11 > ...
6 years, 11 months ago (2014-01-08 18:07:09 UTC) #9
nduca
> https://codereview.chromium.org/121223002/diff/70001/cc/debug/debug_colors.cc#newcode175 > > cc/debug/debug_colors.cc:175: s_currentPaintRectColor = > (s_currentPaintRectColor > > + 1) % 3; ...
6 years, 11 months ago (2014-01-08 18:07:27 UTC) #10
danakj
On Wed, Jan 8, 2014 at 1:07 PM, <nduca@chromium.org> wrote: > > https://codereview.chromium.org/121223002/diff/70001/cc/ > debug/debug_colors.cc#newcode175 ...
6 years, 11 months ago (2014-01-08 18:33:12 UTC) #11
nduca
actually that does make sense dana. all the paint rects from the same frame should ...
6 years, 11 months ago (2014-01-08 19:45:14 UTC) #12
malch1
6 years, 10 months ago (2014-01-29 13:47:05 UTC) #13
danakj
https://codereview.chromium.org/121223002/diff/210001/cc/debug/debug_colors.cc File cc/debug/debug_colors.cc (right): https://codereview.chromium.org/121223002/diff/210001/cc/debug/debug_colors.cc#newcode198 cc/debug/debug_colors.cc:198: s_currentPaintRectColor = Can you move this variable to be ...
6 years, 10 months ago (2014-01-29 18:34:32 UTC) #14
malch1
@danakj I think this way is slightly better than your suggestion. What do you think?
6 years, 10 months ago (2014-01-30 12:21:07 UTC) #15
malch1
On 2014/01/30 12:21:07, malch1 wrote: > @danakj I think this way is slightly better than ...
6 years, 10 months ago (2014-01-30 13:32:23 UTC) #16
danakj
Sure, but one question https://codereview.chromium.org/121223002/diff/220001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/121223002/diff/220001/cc/layers/heads_up_display_layer_impl.cc#newcode594 cc/layers/heads_up_display_layer_impl.cc:594: static int s_currentPaintRectColor = 0; ...
6 years, 10 months ago (2014-01-30 20:20:37 UTC) #17
malch1
On 2014/01/30 20:20:37, danakj wrote: > Sure, but one question > > https://codereview.chromium.org/121223002/diff/220001/cc/layers/heads_up_display_layer_impl.cc > File ...
6 years, 10 months ago (2014-01-31 09:08:10 UTC) #18
danakj
On Fri, Jan 31, 2014 at 4:08 AM, <malch@google.com> wrote: > On 2014/01/30 20:20:37, danakj ...
6 years, 10 months ago (2014-01-31 16:00:08 UTC) #19
malch1
Sure, will do it. On Jan 31, 2014 8:00 PM, "Dana Jansens" <danakj@chromium.org> wrote: > ...
6 years, 10 months ago (2014-01-31 16:18:35 UTC) #20
nduca
https://codereview.chromium.org/121223002/diff/220001/cc/debug/debug_colors.cc File cc/debug/debug_colors.cc (right): https://codereview.chromium.org/121223002/diff/220001/cc/debug/debug_colors.cc#newcode13 cc/debug/debug_colors.cc:13: static const int kPaintRectColors[][3] = {{0, 95, 0}, {0, ...
6 years, 10 months ago (2014-01-31 18:15:50 UTC) #21
caseq
On 2014/01/31 18:15:50, nduca wrote: > https://codereview.chromium.org/121223002/diff/220001/cc/debug/debug_colors.cc > File cc/debug/debug_colors.cc (right): > > https://codereview.chromium.org/121223002/diff/220001/cc/debug/debug_colors.cc#newcode13 > ...
6 years, 10 months ago (2014-02-03 10:19:44 UTC) #22
malch1
Made cycling variable a member of class. Still waiting for a decision on colors.
6 years, 10 months ago (2014-02-03 13:04:50 UTC) #23
malch1
Changed colors according to caseq's suggestion.
6 years, 10 months ago (2014-02-03 13:51:41 UTC) #24
malch
On 2014/02/03 13:51:41, malch1 wrote: > Changed colors according to caseq's suggestion. @danakj @nduca Gentle ...
6 years, 10 months ago (2014-02-10 07:21:13 UTC) #25
danakj
Thanks, couple more questions https://codereview.chromium.org/121223002/diff/310001/cc/debug/debug_colors.cc File cc/debug/debug_colors.cc (right): https://codereview.chromium.org/121223002/diff/310001/cc/debug/debug_colors.cc#newcode13 cc/debug/debug_colors.cc:13: static const int kPaintRectColors[][3] = ...
6 years, 10 months ago (2014-02-10 16:11:11 UTC) #26
malch
Done. It's mutable because function that uses it is const.
6 years, 10 months ago (2014-02-11 06:48:17 UTC) #27
danakj
On 2014/02/11 06:48:17, malch wrote: > Done. It's mutable because function that uses it is ...
6 years, 10 months ago (2014-02-11 17:59:52 UTC) #28
malch
@nduca Okay, done.
6 years, 10 months ago (2014-02-12 11:40:41 UTC) #29
danakj
LGTM
6 years, 10 months ago (2014-02-12 15:26:45 UTC) #30
caseq
The CQ bit was checked by caseq@chromium.org
6 years, 10 months ago (2014-02-13 11:17:53 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/malch@chromium.org/121223002/440001
6 years, 10 months ago (2014-02-13 11:18:10 UTC) #32
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 16:27:23 UTC) #33
Message was sent while issue was closed.
Change committed as 251053

Powered by Google App Engine
This is Rietveld 408576698