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

Issue 429343004: Stopped skipping tests in dm of SkPatch (Closed)

Created:
6 years, 4 months ago by dandov
Modified:
6 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Stopped skipping tests in dm of SkPatch by implementing the corresponding drawPath calls on classes that derive from SkCanvas. BUG=skia: Committed: https://skia.googlesource.com/skia/+/963137b75c0a1fe91f35e9826742f36309f5e65d

Patch Set 1 #

Total comments: 31

Patch Set 2 : Added number of points and colors constants #

Total comments: 4

Patch Set 3 : Dumped corners and colors and used enum for 12's and 4's #

Total comments: 28

Patch Set 4 : Removed Random Patches in GM #

Total comments: 13

Patch Set 5 : Fixed issues based on comments #

Total comments: 2

Patch Set 6 : Fixed small nits #

Patch Set 7 : Moved DRAW_PATCH to end of enum #

Patch Set 8 : Moved DRAW_PATCH DrawType to the last position #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -84 lines) Patch
M gm/patch.cpp View 1 2 3 4 2 chunks +51 lines, -54 lines 0 comments Download
M include/core/SkCanvas.h View 1 chunk +7 lines, -0 lines 0 comments Download
M include/core/SkPatch.h View 1 2 3 4 3 chunks +39 lines, -3 lines 0 comments Download
M include/core/SkReadBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkReader32.h View 1 2 chunks +9 lines, -4 lines 0 comments Download
M include/core/SkWriter32.h View 2 chunks +7 lines, -0 lines 0 comments Download
M include/utils/SkDumpCanvas.h View 2 chunks +2 lines, -0 lines 0 comments Download
M include/utils/SkNWayCanvas.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/utils/SkProxyCanvas.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBBoxRecord.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBBoxRecord.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPatch.cpp View 1 2 3 4 5 6 chunks +41 lines, -17 lines 0 comments Download
M src/core/SkPictureFlat.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 4 5 6 3 chunks +20 lines, -0 lines 0 comments Download
M src/core/SkReadBuffer.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkRecorder.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkRecorder.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkRecords.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/core/SkValidatingReadBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkValidatingReadBuffer.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M src/pipe/SkGPipePriv.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 2 chunks +10 lines, -0 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M src/utils/SkDumpCanvas.cpp View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M src/utils/SkNWayCanvas.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M src/utils/SkPatchUtils.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M src/utils/SkProxyCanvas.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
dandov
This the fix for the gm to draw with all the flags except for kSkipTiled_Flag. ...
6 years, 4 months ago (2014-08-04 18:06:26 UTC) #1
bsalomon
Adding Mike' and Rob for skp stuff. Do we normally bump the skp version when ...
6 years, 4 months ago (2014-08-04 18:11:01 UTC) #2
mtklein
https://codereview.chromium.org/429343004/diff/1/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/1/gm/patch.cpp#newcode97 gm/patch.cpp:97: return kSkipTiled_Flag; Just checking, does this not draw correctly ...
6 years, 4 months ago (2014-08-04 18:23:03 UTC) #3
mtklein
On 2014/08/04 18:11:01, bsalomon wrote: > Adding Mike' and Rob for skp stuff. Do we ...
6 years, 4 months ago (2014-08-04 18:24:35 UTC) #4
robertphillips
https://codereview.chromium.org/429343004/diff/1/include/core/SkPatch.h File include/core/SkPatch.h (right): https://codereview.chromium.org/429343004/diff/1/include/core/SkPatch.h#newcode142 include/core/SkPatch.h:142: void setPoints(const SkPoint points[12]) { Just memcpy these ? ...
6 years, 4 months ago (2014-08-04 18:44:19 UTC) #5
dandov
Fixed issues from comments. Added kNumCtrlPts and kNumColors to avoid having magic numbers, use memcpy ...
6 years, 4 months ago (2014-08-04 19:59:27 UTC) #6
mtklein
https://codereview.chromium.org/429343004/diff/1/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/1/gm/patch.cpp#newcode97 gm/patch.cpp:97: return kSkipTiled_Flag; On 2014/08/04 19:59:27, dandov wrote: > On ...
6 years, 4 months ago (2014-08-04 20:40:47 UTC) #7
egdaniel
https://codereview.chromium.org/429343004/diff/20001/src/utils/SkDumpCanvas.cpp File src/utils/SkDumpCanvas.cpp (right): https://codereview.chromium.org/429343004/diff/20001/src/utils/SkDumpCanvas.cpp#newcode448 src/utils/SkDumpCanvas.cpp:448: this->dump(kDrawPatch_Verb, &paint, "drawPatch(Vertices{[%f, %f], [%f, %f], [%f, %f], [%f, ...
6 years, 4 months ago (2014-08-04 20:45:38 UTC) #8
dandov
https://codereview.chromium.org/429343004/diff/20001/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/20001/gm/patch.cpp#newcode64 gm/patch.cpp:64: SkPoint ptsCpy[12]; On 2014/08/04 20:40:47, mtklein wrote: > Seems ...
6 years, 4 months ago (2014-08-04 21:47:54 UTC) #9
robertphillips
https://codereview.chromium.org/429343004/diff/40001/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/40001/gm/patch.cpp#newcode18 gm/patch.cpp:18: const SkPatch& patch, const SkPaint& paint ? If you ...
6 years, 4 months ago (2014-08-05 12:44:45 UTC) #10
dandov
Some small fixes and removed random parts of the gm. https://codereview.chromium.org/429343004/diff/40001/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/40001/gm/patch.cpp#newcode18 ...
6 years, 4 months ago (2014-08-05 14:27:11 UTC) #11
robertphillips
https://codereview.chromium.org/429343004/diff/60001/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/60001/gm/patch.cpp#newcode18 gm/patch.cpp:18: I don't think we should pass in the paint. ...
6 years, 4 months ago (2014-08-05 15:42:00 UTC) #12
dandov
https://codereview.chromium.org/429343004/diff/60001/gm/patch.cpp File gm/patch.cpp (right): https://codereview.chromium.org/429343004/diff/60001/gm/patch.cpp#newcode18 gm/patch.cpp:18: On 2014/08/05 15:42:00, robertphillips wrote: > I don't think ...
6 years, 4 months ago (2014-08-05 17:34:06 UTC) #13
robertphillips
lgtm + some nits https://codereview.chromium.org/429343004/diff/80001/src/core/SkPatch.cpp File src/core/SkPatch.cpp (right): https://codereview.chromium.org/429343004/diff/80001/src/core/SkPatch.cpp#newcode125 src/core/SkPatch.cpp:125: static uint8_t bilerp(SkScalar tx, SkScalar ...
6 years, 4 months ago (2014-08-05 20:10:23 UTC) #14
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-06 18:45:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/429343004/100001
6 years, 4 months ago (2014-08-06 18:45:59 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 18:46:36 UTC) #17
commit-bot: I haz the power
Presubmit check for 429343004-100001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 4 months ago (2014-08-06 18:46:37 UTC) #18
bsalomon
lgtm
6 years, 4 months ago (2014-08-06 20:00:40 UTC) #19
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-06 20:01:21 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/429343004/100001
6 years, 4 months ago (2014-08-06 20:01:40 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-06 20:08:23 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 20:11:43 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on tryserver.skia (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/43)
6 years, 4 months ago (2014-08-06 20:11:44 UTC) #24
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-07 14:13:46 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/429343004/140001
6 years, 4 months ago (2014-08-07 14:14:22 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-07 14:22:04 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 14:25:44 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on tryserver.skia (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/46)
6 years, 4 months ago (2014-08-07 14:25:44 UTC) #29
dandov
The CQ bit was checked by dandov@google.com
6 years, 4 months ago (2014-08-07 14:49:29 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dandov@google.com/429343004/140001
6 years, 4 months ago (2014-08-07 14:49:34 UTC) #31
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 14:49:59 UTC) #32
Message was sent while issue was closed.
Change committed as 963137b75c0a1fe91f35e9826742f36309f5e65d

Powered by Google App Engine
This is Rietveld 408576698