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

Issue 478673002: Expose API for whether an SkPicture contains text (Closed)

Created:
6 years, 4 months ago by ajuma
Modified:
6 years, 4 months ago
Reviewers:
nduca, reed1
CC:
reviews_skia.org, hendrikw, bsalomon
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Expose API for whether an SkPicture contains text BUG=chromium:399728 Committed: https://skia.googlesource.com/skia/+/750ae26745d261183001a78d24251f6392e96b27

Patch Set 1 #

Patch Set 2 : Add a test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
M include/core/SkPicture.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkPicture.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M src/core/SkPictureData.h View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ajuma
This exposes the hasText data that was added by https://codereview.chromium.org/435093003/
6 years, 4 months ago (2014-08-15 14:31:28 UTC) #1
reed1
This api is not O(1) on the new backend, so lets see if its sufficient ...
6 years, 4 months ago (2014-08-15 15:32:37 UTC) #2
nduca
is there a way to make the api O(1)? Presumably we set a bit during ...
6 years, 4 months ago (2014-08-15 17:32:10 UTC) #3
ajuma
If SkPicture::suitableForGpuRasterization is still going to have an O(1) implementation with the new backend, it's ...
6 years, 4 months ago (2014-08-18 17:49:00 UTC) #4
mtklein
On 2014/08/18 17:49:00, ajuma wrote: > If SkPicture::suitableForGpuRasterization is still going to have an O(1) ...
6 years, 4 months ago (2014-08-18 18:10:11 UTC) #5
reed1
with klein's comment, api lgtm lets also add a test so we know this guy ...
6 years, 4 months ago (2014-08-18 18:46:06 UTC) #6
ajuma
PTAL, added a test.
6 years, 4 months ago (2014-08-18 19:49:27 UTC) #7
reed1
The CQ bit was checked by reed@google.com
6 years, 4 months ago (2014-08-18 19:51:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/ajuma@chromium.org/478673002/20001
6 years, 4 months ago (2014-08-18 19:52:13 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 20:00:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (20001) as 750ae26745d261183001a78d24251f6392e96b27

Powered by Google App Engine
This is Rietveld 408576698