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

Issue 1411173010: stop using drawSprite (at least w/ no filters) as it is going away (Closed)

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

Description

stop using drawSprite (at least w/ no filters) as it is going away BUG=skia: Committed: https://skia.googlesource.com/skia/+/4a21602982d411bb764e46dc47e009b12bd5cb39

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -15 lines) Patch
M samplecode/SampleAll.cpp View 1 1 chunk +1 line, -5 lines 0 comments Download
M src/effects/SkColorFilterImageFilter.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/effects/SkMergeImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrRecordReplaceDraw.cpp View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M src/images/SkImageDecoder.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (6 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/1411173010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411173010/1
5 years, 1 month ago (2015-11-02 18:42:46 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-02 18:56:11 UTC) #4
reed1
5 years, 1 month ago (2015-11-02 19:35:25 UTC) #6
robertphillips
lgtm https://codereview.chromium.org/1411173010/diff/1/samplecode/SampleAll.cpp File samplecode/SampleAll.cpp (right): https://codereview.chromium.org/1411173010/diff/1/samplecode/SampleAll.cpp#newcode442 samplecode/SampleAll.cpp:442: paint.setShader(nullptr); rm "sprite" ? https://codereview.chromium.org/1411173010/diff/1/samplecode/SampleAll.cpp#newcode572 samplecode/SampleAll.cpp:572: SkPoint fClickPt; ...
5 years, 1 month ago (2015-11-02 19:43:15 UTC) #7
Stephen White
LGTM
5 years, 1 month ago (2015-11-02 19:54:26 UTC) #9
reed1
https://codereview.chromium.org/1411173010/diff/1/samplecode/SampleAll.cpp File samplecode/SampleAll.cpp (right): https://codereview.chromium.org/1411173010/diff/1/samplecode/SampleAll.cpp#newcode442 samplecode/SampleAll.cpp:442: paint.setShader(nullptr); On 2015/11/02 19:43:15, robertphillips wrote: > rm "sprite" ...
5 years, 1 month ago (2015-11-02 19:55:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411173010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411173010/20001
5 years, 1 month ago (2015-11-02 19:55:27 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/4a21602982d411bb764e46dc47e009b12bd5cb39
5 years, 1 month ago (2015-11-02 20:11:17 UTC) #14
robertphillips
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1413363011/ by robertphillips@google.com. ...
5 years, 1 month ago (2015-11-03 12:35:46 UTC) #15
mtklein
5 years, 1 month ago (2015-11-03 13:21:49 UTC) #16
Message was sent while issue was closed.
On 2015/11/03 at 12:35:46, robertphillips wrote:
> A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1413363011/ by robertphillips@google.com.
> 
> The reason for reverting is: Breaking the bots.

I think the root of this is tests/RecordReplaceDrawTest.cpp:145, where we assert
that a layer has been hoisted and replaced by a drawSprite() call.  The change
to src/gpu/GrRecordReplaceDraw.cpp means we need to update that to
`assert_type<SkRecords::DrawBitmap>(...)`.  This should be a GPU-only unit test
failure.  The cryptic nature of assert_type failures is probably on me.

Powered by Google App Engine
This is Rietveld 408576698