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

Issue 22585002: Add SkCanvas::drawPosTextBounded. (Closed)

Created:
7 years, 4 months ago by jbroman
Modified:
7 years, 4 months ago
Reviewers:
Tom Hudson, reed1, tomhudson
CC:
skia-review_googlegroups.com, danakj
Visibility:
Public.

Description

Add SkCanvas::drawPosTextBounded. This allows subclasses which need bounding box information to get it from the caller if it has already been computed. BUG=chromium:269080 Committed: http://code.google.com/p/skia/source/detail?r=10612

Patch Set 1 #

Patch Set 2 : spelling correction #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M include/core/SkCanvas.h View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/core/SkBBoxRecord.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkBBoxRecord.cpp View 1 chunk +8 lines, -0 lines 1 comment Download
M src/core/SkCanvas.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jbroman
In Chromium, when impl-side painting is on we end up recording via an SkBBoxRecord. Whenever ...
7 years, 4 months ago (2013-08-07 13:49:29 UTC) #1
tomhudson
lgtm https://codereview.chromium.org/22585002/diff/4001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/22585002/diff/4001/src/core/SkBBoxRecord.cpp#newcode181 src/core/SkBBoxRecord.cpp:181: const SkPaint& paint) { Is it worth putting ...
7 years, 4 months ago (2013-08-07 15:48:39 UTC) #2
jbroman
On 2013/08/07 15:48:39, tomhudson wrote: > lgtm > > https://codereview.chromium.org/22585002/diff/4001/src/core/SkBBoxRecord.cpp > File src/core/SkBBoxRecord.cpp (right): > ...
7 years, 4 months ago (2013-08-07 15:51:35 UTC) #3
tomhudson
On 2013/08/07 15:51:35, jbroman wrote: > On 2013/08/07 15:48:39, tomhudson wrote: > > Is it ...
7 years, 4 months ago (2013-08-07 15:55:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jbroman@chromium.org/22585002/4001
7 years, 4 months ago (2013-08-07 15:57:17 UTC) #5
commit-bot: I haz the power
Change committed as 10612
7 years, 4 months ago (2013-08-07 16:22:52 UTC) #6
reed1
I'm sorry, I should have spoken up sooner. I'd like to consider other ways to ...
7 years, 4 months ago (2013-08-07 17:10:39 UTC) #7
jbroman
On 2013/08/07 17:10:39, reed1 wrote: > I'm sorry, I should have spoken up sooner. > ...
7 years, 4 months ago (2013-08-07 17:12:41 UTC) #8
tomhudson
Ping, Mike? We've missed M30, but a 20% recording speedup on text-heavy sites would be ...
7 years, 4 months ago (2013-08-20 13:00:16 UTC) #9
reed1
7 years, 4 months ago (2013-08-20 15:07:32 UTC) #10
Message was sent while issue was closed.
Filing a skia issue would be fine. We are actively working on a different patch
with the same goal in mind. Perhaps we will circle back and also land this one
(or a variant of it).

Powered by Google App Engine
This is Rietveld 408576698