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

Issue 886473002: Conservative SkTextBlob bounds. (Closed)

Created:
5 years, 10 months ago by f(malita)
Modified:
5 years, 10 months ago
CC:
reviews_skia.org, jbroman
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Conservative SkTextBlob bounds. Compute cheaper/more conservative text blob bounds based on the typeface maximum glyph bbox. BUG=chromium:451401 R=reed@google.com,bungeman@google.com Committed: https://skia.googlesource.com/skia/+/3dc40ac9f968eee95eef5e8ee811e0640691df0f

Patch Set 1 #

Total comments: 5

Patch Set 2 : review comments #

Patch Set 3 : minor cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -34 lines) Patch
M include/core/SkTextBlob.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M src/core/SkTextBlob.cpp View 1 2 3 chunks +77 lines, -33 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
f(malita)
https://codereview.chromium.org/886473002/diff/1/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/886473002/diff/1/src/core/SkTextBlob.cpp#newcode382 src/core/SkTextBlob.cpp:382: } Here used to live an awesome assert: conservative ...
5 years, 10 months ago (2015-01-28 14:46:19 UTC) #1
mtklein
https://codereview.chromium.org/886473002/diff/1/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/886473002/diff/1/src/core/SkTextBlob.cpp#newcode382 src/core/SkTextBlob.cpp:382: } On 2015/01/28 14:46:19, f(malita) wrote: > Here used ...
5 years, 10 months ago (2015-01-28 14:58:21 UTC) #3
reed1
https://codereview.chromium.org/886473002/diff/1/include/core/SkTextBlob.h File include/core/SkTextBlob.h (right): https://codereview.chromium.org/886473002/diff/1/include/core/SkTextBlob.h#newcode191 include/core/SkTextBlob.h:191: static SkRect conservativeRunBounds(const SkTextBlob::RunRecord&); nit: static functions are Capitalized()
5 years, 10 months ago (2015-01-28 15:02:22 UTC) #4
f(malita)
https://codereview.chromium.org/886473002/diff/1/include/core/SkTextBlob.h File include/core/SkTextBlob.h (right): https://codereview.chromium.org/886473002/diff/1/include/core/SkTextBlob.h#newcode191 include/core/SkTextBlob.h:191: static SkRect conservativeRunBounds(const SkTextBlob::RunRecord&); On 2015/01/28 15:02:22, reed1 wrote: ...
5 years, 10 months ago (2015-01-28 15:14:37 UTC) #5
reed1
lgtm
5 years, 10 months ago (2015-01-28 15:15:32 UTC) #6
mtklein
lgtm I do remember now why I didn't use it when building BBHs. On Windows ...
5 years, 10 months ago (2015-01-28 15:18:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886473002/40001
5 years, 10 months ago (2015-01-28 18:11:28 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 18:56:09 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/3dc40ac9f968eee95eef5e8ee811e0640691df0f

Powered by Google App Engine
This is Rietveld 408576698