|
|
Created:
5 years, 2 months ago by prashant.n Modified:
5 years, 2 months ago CC:
cc-bugs_chromium.org, chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionChange HUD colors to distinguish status easily.
With red color on black background, the graph lines do not stand out
distinctly. So changed few colors to make HUD status more visible.
Also separated the titles for each display to make them visible and
added memory graph to easily understand the memory status.
BUG=541121
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/77e7f97042e41e91b9a7cb99fdc253b7b34187b2
Cr-Commit-Position: refs/heads/master@{#353727}
Patch Set 1 #Patch Set 2 : Small modifications. #Patch Set 3 : Updated memory graph. #
Total comments: 8
Patch Set 4 : Removed rounded corner. #Patch Set 5 : Incorporated review comments. #
Total comments: 3
Patch Set 6 : Review comments. #Patch Set 7 : nits. #Patch Set 8 : fixed typecasting warning. #
Depends on Patchset: Messages
Total messages: 28 (7 generated)
prashant.n@samsung.com changed reviewers: + danakj@chromium.org, enne@chromium.org
ptal.
kindly ptal.
Can you give screenshots of before and after for all of the changes?
Attached the images in the bug created.
weiliangc@chromium.org changed reviewers: + weiliangc@chromium.org
Thanks for the images in the bug. This patch LGTM. Let's keeps further discussions in the bug.
https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:334: if (rounded) { I don't think it's really worth adding code to make a rounded border on the display :/ Less code is better here. https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:673: paint.setColor(DebugColors::HUDDisplaySeparatorColor()); Similar comment here, I don't know that these separators are adding that much. The headers are nice how you did them. These lines seem extra. I'd remove that.
https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:334: if (rounded) { On 2015/10/08 17:48:09, danakj_OOO_til_10-12 wrote: > I don't think it's really worth adding code to make a rounded border on the > display :/ Less code is better here. Hmm. I will remove them. https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:673: paint.setColor(DebugColors::HUDDisplaySeparatorColor()); On 2015/10/08 17:48:09, danakj_OOO_til_10-12 wrote: > Similar comment here, I don't know that these separators are adding that much. > The headers are nice how you did them. These lines seem extra. I'd remove that. Adding separators between different displays makes them as different categories visually, so IMO we should have them.
https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:673: paint.setColor(DebugColors::HUDDisplaySeparatorColor()); On 2015/10/09 01:01:52, prashant.n wrote: > On 2015/10/08 17:48:09, danakj_OOO_til_10-12 wrote: > > Similar comment here, I don't know that these separators are adding that much. > > The headers are nice how you did them. These lines seem extra. I'd remove > that. > > Adding separators between different displays makes them as different categories > visually, so IMO we should have them. I disagee, as I would like as little code in the HUD as is reasonable, and I don't think they are adding that much. You can tell what is going on without them.
https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:673: paint.setColor(DebugColors::HUDDisplaySeparatorColor()); Basically it shows that fps counter and GPU status displays are different. It separates visually, so it is easier to understand what is contained in each category of display by having visual boundary. In the Chrome Menu, we have separators to differentiate the categories. Similarly I thought to have separators in different displays to follow general UX practice. I understand that HUD should be simpler. But if we keep adding more displays on hud then making boudaries between them will become essential and it makes focusing on what developer expects easily.
https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:673: paint.setColor(DebugColors::HUDDisplaySeparatorColor()); On 2015/10/09 05:05:12, prashant.n wrote: > Basically it shows that fps counter and GPU status displays are different. It > separates visually, so it is easier to understand what is contained in each > category of display by having visual boundary. > > In the Chrome Menu, we have separators to differentiate the categories. > Similarly I thought to have separators in different displays to follow general > UX practice. > > I understand that HUD should be simpler. But if we keep adding more displays on > hud then making boudaries between them will become essential and it makes > focusing on what developer expects easily. This isn't user-targeted UI like the chrome UI is. It's an FPS meter for people to use, and some other pieces of data for chrome developers more or less. There's no need to build something extravagant here, it's not trying to be devtools. The header titles already do a fine job explaining the UI.
https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/40001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:673: paint.setColor(DebugColors::HUDDisplaySeparatorColor()); IMO, even the ui is not user targetted, it is published and available using chrome://flags, so that it can treated as important as devtools. On top of chrome UI, it looks like different UI patched. It looks nice visually and costwise it just adds simple rect with different color. If you feel it's overhead, I'll remove it.
Regarding display separator, we can discuss in the bug.
On Mon, Oct 12, 2015 at 10:26 AM, <prashant.n@samsung.com> wrote: > Regarding display separator, we can discuss in the bug. > If you want. I do agree it looks nicer with separator. I don't think it's worth adding code for it. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Hmm. I'll readd separator then.
On Mon, Oct 12, 2015 at 12:16 PM, <prashant.n@samsung.com> wrote: > Hmm. I'll readd separator then. > Maybe misread: I don't think it's worth adding code for it. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Patchset 5 LGTM w/ a couple nits. https://codereview.chromium.org/1377823002/diff/80001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (left): https://codereview.chromium.org/1377823002/diff/80001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:302: unrelated whitespace changes? https://codereview.chromium.org/1377823002/diff/80001/cc/layers/heads_up_disp... File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/1377823002/diff/80001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:277: dont add whitespace please https://codereview.chromium.org/1377823002/diff/80001/cc/layers/heads_up_disp... cc/layers/heads_up_display_layer_impl.cc:281: if (debug_state.ShowMemoryStats() && !!memory_entry_.total_bytes_used) don't need !!
The CQ bit was checked by prashant.n@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from weiliangc@chromium.org, danakj@chromium.org Link to the patchset: https://codereview.chromium.org/1377823002/#ps120001 (title: "nits.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377823002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377823002/120001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/...)
The CQ bit was checked by prashant.n@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from danakj@chromium.org, weiliangc@chromium.org Link to the patchset: https://codereview.chromium.org/1377823002/#ps140001 (title: "fixed typecasting warning.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377823002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377823002/140001
Message was sent while issue was closed.
Committed patchset #8 (id:140001)
Message was sent while issue was closed.
Patchset 8 (id:??) landed as https://crrev.com/77e7f97042e41e91b9a7cb99fdc253b7b34187b2 Cr-Commit-Position: refs/heads/master@{#353727} |