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

Issue 674683003: Avoid extra FontRenderParams queries in RenderTextHarfBuzz. (Closed)

Created:
6 years, 2 months ago by Daniel Erat
Modified:
6 years, 2 months ago
Reviewers:
msw, ckocagil
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Avoid extra FontRenderParams queries in RenderTextHarfBuzz. gfx::Font already contains a FontRenderParams struct. Make RenderTextHarfBuzz use it when possible instead of always querying for a new struct. BUG=none Committed: https://crrev.com/faf4a0632d4aa96f0f8b31021fb353eebc5509e6 Cr-Commit-Position: refs/heads/master@{#301101}

Patch Set 1 #

Patch Set 2 : merge #

Patch Set 3 : avoid passing gfx::Font #

Patch Set 4 : restore check that a family was actually found #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -49 lines) Patch
M ui/gfx/render_text_harfbuzz.h View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M ui/gfx/render_text_harfbuzz.cc View 1 2 3 1 chunk +48 lines, -47 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
Daniel Erat
seems a bit weird that we're requerying here...
6 years, 2 months ago (2014-10-22 23:47:18 UTC) #2
ckocagil
Avoiding gfx::Font was a conscious decision I made in order to avoid using two different ...
6 years, 2 months ago (2014-10-23 05:24:48 UTC) #3
Daniel Erat
On 2014/10/23 05:24:48, ckocagil wrote: > Avoiding gfx::Font was a conscious decision I made in ...
6 years, 2 months ago (2014-10-23 13:27:33 UTC) #4
Daniel Erat
tried another approach -- mind taking another look?
6 years, 2 months ago (2014-10-23 16:30:41 UTC) #5
msw
Either approach (patch set 2 or patch set 4) lgtm. I think using gfx::Font in ...
6 years, 2 months ago (2014-10-23 18:14:22 UTC) #6
Daniel Erat
On 2014/10/23 18:14:22, msw wrote: > Either approach (patch set 2 or patch set 4) ...
6 years, 2 months ago (2014-10-23 23:15:12 UTC) #7
msw
On 2014/10/23 23:15:12, Daniel Erat wrote: > On 2014/10/23 18:14:22, msw wrote: > > Either ...
6 years, 2 months ago (2014-10-23 23:20:10 UTC) #8
ckocagil
Latest patchset lgtm. On 2014/10/23 13:27:33, Daniel Erat wrote: > i don't fully understand: RenderTextHarfBuzz ...
6 years, 2 months ago (2014-10-23 23:45:32 UTC) #9
ckocagil
...their existing FontRenderParams.
6 years, 2 months ago (2014-10-23 23:45:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674683003/60001
6 years, 2 months ago (2014-10-24 14:00:12 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-24 14:48:04 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-24 14:48:13 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 14:48:37 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/faf4a0632d4aa96f0f8b31021fb353eebc5509e6
Cr-Commit-Position: refs/heads/master@{#301101}

Powered by Google App Engine
This is Rietveld 408576698