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

Issue 12771021: Make painting app list items more efficient by caching the labels. (Closed)

Created:
7 years, 9 months ago by koz (OOO until 15th September)
Modified:
7 years, 9 months ago
Reviewers:
xiyuan, benwells
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Make painting app list items more efficient by caching the labels. BUG=170069 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187822

Patch Set 1 #

Total comments: 4

Patch Set 2 : respond to comments #

Total comments: 4

Patch Set 3 : respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -2 lines) Patch
M ui/app_list/app_list.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_item_view.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/app_list/views/app_list_item_view.cc View 5 chunks +5 lines, -1 line 0 comments Download
A ui/app_list/views/cached_label.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A ui/app_list/views/cached_label.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
koz (OOO until 15th September)
7 years, 9 months ago (2013-03-12 04:34:20 UTC) #1
benwells
lgtm with a couple of nits. https://codereview.chromium.org/12771021/diff/1/ui/app_list/views/app_list_item_view.cc File ui/app_list/views/app_list_item_view.cc (right): https://codereview.chromium.org/12771021/diff/1/ui/app_list/views/app_list_item_view.cc#newcode81 ui/app_list/views/app_list_item_view.cc:81: title_->Invalidate(); nit: is ...
7 years, 9 months ago (2013-03-12 04:58:11 UTC) #2
xiyuan
Do you have any numbers to prove/indicate that the text drawing is the bottle neck? ...
7 years, 9 months ago (2013-03-12 05:12:01 UTC) #3
koz (OOO until 15th September)
On 2013/03/12 05:12:01, xiyuan wrote: > Do you have any numbers to prove/indicate that the ...
7 years, 9 months ago (2013-03-13 00:29:47 UTC) #4
koz (OOO until 15th September)
In the latest patch set it's win-only, too. https://codereview.chromium.org/12771021/diff/1/ui/app_list/views/app_list_item_view.cc File ui/app_list/views/app_list_item_view.cc (right): https://codereview.chromium.org/12771021/diff/1/ui/app_list/views/app_list_item_view.cc#newcode81 ui/app_list/views/app_list_item_view.cc:81: title_->Invalidate(); ...
7 years, 9 months ago (2013-03-13 00:30:36 UTC) #5
xiyuan
Thank you for investigating and confirming the bottle neck. Both my comments are optional. So ...
7 years, 9 months ago (2013-03-13 04:14:50 UTC) #6
koz (OOO until 15th September)
Thanks for the review, Xiyuan! https://codereview.chromium.org/12771021/diff/7001/ui/app_list/views/cached_label.cc File ui/app_list/views/cached_label.cc (right): https://codereview.chromium.org/12771021/diff/7001/ui/app_list/views/cached_label.cc#newcode29 ui/app_list/views/cached_label.cc:29: SkColorSetARGB(0x0, 0, 0, 0), ...
7 years, 9 months ago (2013-03-13 04:43:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/12771021/13001
7 years, 9 months ago (2013-03-13 04:48:59 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-03-13 09:57:46 UTC) #9
Message was sent while issue was closed.
Change committed as 187822

Powered by Google App Engine
This is Rietveld 408576698