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

Issue 1461763004: add SkPath::isRRect (Closed)

Created:
5 years, 1 month ago by caryclark
Modified:
5 years, 1 month ago
Reviewers:
robertphillips, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

add SkPath::isRRect Add helper to track when a round rect was added to a path, and then return the SkRRect specification that describes it. Move the implementation for SkPath::RawIter to SkPathRef so it can be used there as well. R=reed@google.com,robertphillips@google.com Committed: https://skia.googlesource.com/skia/+/da707bf5635c70d4c3c284a0b05d92489b76788e

Patch Set 1 #

Patch Set 2 : remove erroneous qualification #

Total comments: 14

Patch Set 3 : fix compile; address comments #

Patch Set 4 : remove unused test function #

Patch Set 5 : more testing #

Patch Set 6 : remove unused test function #

Patch Set 7 : fix raw iter typo #

Patch Set 8 : incorporated Rob's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+600 lines, -89 lines) Patch
M include/core/SkPath.h View 1 2 3 4 5 6 7 4 chunks +27 lines, -9 lines 0 comments Download
M include/core/SkPathRef.h View 1 2 3 4 5 6 7 10 chunks +59 lines, -6 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 3 chunks +4 lines, -69 lines 0 comments Download
M src/core/SkPathRef.cpp View 1 2 3 4 5 6 7 9 chunks +122 lines, -5 lines 0 comments Download
A tests/RRectInPathTest.cpp View 1 2 3 4 5 1 chunk +388 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/1
5 years, 1 month ago (2015-11-19 18:35:23 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/4356) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
5 years, 1 month ago (2015-11-19 18:36:06 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/20001
5 years, 1 month ago (2015-11-19 18:38:38 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/4357)
5 years, 1 month ago (2015-11-19 18:39:46 UTC) #9
caryclark
not complete -- but go ahead and take a look. I'll finish it when I ...
5 years, 1 month ago (2015-11-19 18:40:55 UTC) #11
reed1
https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPathRef.h File include/core/SkPathRef.h (right): https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPathRef.h#newcode460 include/core/SkPathRef.h:460: fIsRRect = false; do we remember why calling this ...
5 years, 1 month ago (2015-11-19 19:28:10 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/40001
5 years, 1 month ago (2015-11-19 20:48:52 UTC) #14
caryclark
https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPathRef.h File include/core/SkPathRef.h (right): https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPathRef.h#newcode460 include/core/SkPathRef.h:460: fIsRRect = false; On 2015/11/19 19:28:10, reed1 wrote: > ...
5 years, 1 month ago (2015-11-19 20:49:05 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/4367)
5 years, 1 month ago (2015-11-19 20:50:13 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/60001
5 years, 1 month ago (2015-11-19 20:54:03 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/6729)
5 years, 1 month ago (2015-11-19 20:55:13 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/50006 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/50006
5 years, 1 month ago (2015-11-19 21:54:25 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/2659)
5 years, 1 month ago (2015-11-19 21:55:25 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/90001
5 years, 1 month ago (2015-11-19 22:05:39 UTC) #27
reed1
lgtm
5 years, 1 month ago (2015-11-19 22:12:37 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/4304)
5 years, 1 month ago (2015-11-19 22:12:49 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/110001
5 years, 1 month ago (2015-11-19 22:26:59 UTC) #32
robertphillips
https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPath.h#newcode933 include/core/SkPath.h:933: RawIter(const SkPath& path) Is there an extra ' ' ...
5 years, 1 month ago (2015-11-19 22:27:28 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/120001
5 years, 1 month ago (2015-11-19 22:35:44 UTC) #35
caryclark
https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/1461763004/diff/20001/include/core/SkPath.h#newcode933 include/core/SkPath.h:933: RawIter(const SkPath& path) On 2015/11/19 22:27:28, robertphillips wrote: > ...
5 years, 1 month ago (2015-11-19 22:36:05 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461763004/120001
5 years, 1 month ago (2015-11-19 22:37:28 UTC) #40
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 22:47:46 UTC) #41
Message was sent while issue was closed.
Committed patchset #8 (id:120001) as
https://skia.googlesource.com/skia/+/da707bf5635c70d4c3c284a0b05d92489b76788e

Powered by Google App Engine
This is Rietveld 408576698