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

Issue 2012233002: Make SkPath::isOval() and SkPath::isRRect return the orientation and starting index. (Closed)

Created:
4 years, 7 months ago by bsalomon
Modified:
4 years, 6 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Make SkPath::isOval() and SkPath::isRRect return the orientation and starting index. These are tracked in SkPathRef. Unit tests are updated to test that the returned values are correct. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2012233002 Committed: https://skia.googlesource.com/skia/+/78d58d1084f0390c1c0f9123ac6e48efcd226f39

Patch Set 1 #

Patch Set 2 : comment changes #

Total comments: 18

Patch Set 3 : Address comments #

Patch Set 4 : Fix compiler warnings #

Patch Set 5 : more warning fixes #

Patch Set 6 : another warning #

Patch Set 7 : record mod'ed start indices #

Unified diffs Side-by-side diffs Delta from patch set Stats (+531 lines, -264 lines) Patch
M include/core/SkMatrix.h View 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkPath.h View 1 2 4 chunks +33 lines, -11 lines 0 comments Download
M include/core/SkPathRef.h View 1 2 3 6 chunks +54 lines, -14 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkPathRef.cpp View 1 2 8 chunks +90 lines, -10 lines 0 comments Download
M tests/PathTest.cpp View 1 2 3 8 chunks +50 lines, -9 lines 0 comments Download
M tests/RRectInPathTest.cpp View 1 2 3 4 5 4 chunks +301 lines, -217 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (18 generated)
bsalomon
4 years, 7 months ago (2016-05-26 14:17:37 UTC) #3
robertphillips
https://codereview.chromium.org/2012233002/diff/20001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/2012233002/diff/20001/include/core/SkPath.h#newcode175 include/core/SkPath.h:175: * if the height and width are the same. ...
4 years, 7 months ago (2016-05-26 15:57:58 UTC) #4
bsalomon
https://codereview.chromium.org/2012233002/diff/20001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/2012233002/diff/20001/include/core/SkPath.h#newcode175 include/core/SkPath.h:175: * if the height and width are the same. ...
4 years, 7 months ago (2016-05-26 18:25:44 UTC) #5
robertphillips
lgtm
4 years, 7 months ago (2016-05-26 18:31:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012233002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012233002/40001
4 years, 7 months ago (2016-05-26 18:36:52 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8777)
4 years, 7 months ago (2016-05-26 18:41:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012233002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012233002/60001
4 years, 7 months ago (2016-05-26 19:22:02 UTC) #13
commit-bot: I haz the power
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/8707)
4 years, 7 months ago (2016-05-26 19:27:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012233002/30008 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012233002/30008
4 years, 7 months ago (2016-05-26 20:23:38 UTC) #18
commit-bot: I haz the power
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/8714) Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, ...
4 years, 7 months ago (2016-05-26 20:28:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012233002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012233002/90001
4 years, 7 months ago (2016-05-26 20:42:37 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8739)
4 years, 7 months ago (2016-05-26 20:48:48 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012233002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012233002/90001
4 years, 7 months ago (2016-05-26 20:56:47 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8741)
4 years, 7 months ago (2016-05-26 20:59:39 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012233002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012233002/110001
4 years, 6 months ago (2016-05-27 15:58:46 UTC) #32
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 16:17:08 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://skia.googlesource.com/skia/+/78d58d1084f0390c1c0f9123ac6e48efcd226f39

Powered by Google App Engine
This is Rietveld 408576698