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

Issue 924433002: Use RenderText directly to draw tooltip (Closed)

Created:
5 years, 10 months ago by oshima
Modified:
5 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use RenderText directly to draw tooltip to imporove format and performance. This replaces the old CL (https://codereview.chromium.org/340543004/). This runs faster and doesn't require the label caching CL. (for the example in 370226, this is 20x faster on arm. ~60ms total vs ~3ms total) I'll look into switching to label once I get the performance data with label after label caching is enabled. This depends on two CLs 1) https://codereview.chromium.org/916423002/ Tooltip Cleanup 2) https://codereview.chromium.org/915383003/ RTL format problem. but this can be reviewed independently. BUG=370226, 451853 Committed: https://crrev.com/3e0cc51a03d65bf057742ac0f1f5e0c8b633bda5 Cr-Commit-Position: refs/heads/master@{#317590}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : set_owned_by_client #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -243 lines) Patch
M ui/views/corewm/DEPS View 2 chunks +1 line, -1 line 0 comments Download
M ui/views/corewm/tooltip_aura.h View 1 2 3 3 chunks +6 lines, -13 lines 0 comments Download
M ui/views/corewm/tooltip_aura.cc View 1 2 3 5 chunks +67 lines, -96 lines 0 comments Download
D ui/views/corewm/tooltip_aura_unittest.cc View 1 1 chunk +0 lines, -131 lines 0 comments Download
M ui/views/corewm/tooltip_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/views.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 21 (9 generated)
oshima
5 years, 10 months ago (2015-02-12 22:03:38 UTC) #4
sky
How come you're not converting to Label directly? https://codereview.chromium.org/924433002/diff/60001/ui/views/corewm/tooltip_aura.cc File ui/views/corewm/tooltip_aura.cc (right): https://codereview.chromium.org/924433002/diff/60001/ui/views/corewm/tooltip_aura.cc#newcode99 ui/views/corewm/tooltip_aura.cc:99: gfx::RenderText* ...
5 years, 10 months ago (2015-02-19 00:07:56 UTC) #5
oshima
On 2015/02/19 00:07:56, sky wrote: > How come you're not converting to Label directly? Because ...
5 years, 10 months ago (2015-02-19 05:50:26 UTC) #6
sky
Are tooltips really a slow spot for performance? On Wed, Feb 18, 2015 at 9:50 ...
5 years, 10 months ago (2015-02-19 17:05:33 UTC) #7
Jun Mukai
On 2015/02/19 17:05:33, sky wrote: > Are tooltips really a slow spot for performance? Yes. ...
5 years, 10 months ago (2015-02-19 19:08:33 UTC) #8
sky
Ok, LGTM
5 years, 10 months ago (2015-02-19 19:15:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924433002/80001
5 years, 10 months ago (2015-02-20 04:42:14 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/27424)
5 years, 10 months ago (2015-02-20 05:45:19 UTC) #13
oshima
FYI: I set set_owned_by_client(), as it's used to be.
5 years, 10 months ago (2015-02-23 16:34:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924433002/100001
5 years, 10 months ago (2015-02-23 16:34:53 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 10 months ago (2015-02-23 16:38:17 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 16:38:49 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3e0cc51a03d65bf057742ac0f1f5e0c8b633bda5
Cr-Commit-Position: refs/heads/master@{#317590}

Powered by Google App Engine
This is Rietveld 408576698