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

Issue 2155063002: use special-image for imagefilters and save/restore layer (Closed)

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

Description

use special-image for imagefilters and save/restore layer add special virtuals to device, in preparation for using them instead of bitmap for imagefilters BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2155933002 patch from issue 2155933002 at patchset 20001 (http://crrev.com/2155933002#ps20001) use specialimages instead of bitmaps for imagefiltering Committed: https://skia.googlesource.com/skia/+/a2217ef965e57fdbbf989989e7ec1f2c04f62d39

Patch Set 1 #

Patch Set 2 : fix restore #

Patch Set 3 : rebase #

Total comments: 11

Patch Set 4 : merge #

Patch Set 5 : rebase #

Patch Set 6 : check for null-special #

Patch Set 7 : move compatible-with-filtering test into special factories #

Patch Set 8 : gpu fix, remove srgb check #

Patch Set 9 : rebase #

Patch Set 10 : can't assert in snapSpecial (for backdrops) #

Total comments: 6

Patch Set 11 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -64 lines) Patch
M include/core/SkCanvas.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 6 7 8 9 10 8 chunks +46 lines, -61 lines 0 comments Download
M src/core/SkSpecialImage.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +22 lines, -2 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 42 (31 generated)
reed1
4 years, 5 months ago (2016-07-18 14:18:37 UTC) #6
robertphillips
https://codereview.chromium.org/2155063002/diff/40001/src/core/SkBitmapDevice.cpp File src/core/SkBitmapDevice.cpp (right): https://codereview.chromium.org/2155063002/diff/40001/src/core/SkBitmapDevice.cpp#newcode390 src/core/SkBitmapDevice.cpp:390: tmpUnfiltered.setImageFilter(nullptr); getROPixels ? https://codereview.chromium.org/2155063002/diff/40001/src/core/SkBitmapDevice.cpp#newcode395 src/core/SkBitmapDevice.cpp:395: } else { getROPixels ...
4 years, 5 months ago (2016-07-18 17:01:58 UTC) #7
reed1
https://codereview.chromium.org/2155063002/diff/40001/src/core/SkBitmapDevice.cpp File src/core/SkBitmapDevice.cpp (right): https://codereview.chromium.org/2155063002/diff/40001/src/core/SkBitmapDevice.cpp#newcode390 src/core/SkBitmapDevice.cpp:390: tmpUnfiltered.setImageFilter(nullptr); On 2016/07/18 17:01:58, robertphillips wrote: > getROPixels ? ...
4 years, 5 months ago (2016-07-18 22:06:07 UTC) #8
robertphillips
https://codereview.chromium.org/2145343005/ (Recast draw_filter_into_device as drawDevice)
4 years, 5 months ago (2016-07-18 22:08:28 UTC) #11
reed1
https://codereview.chromium.org/2155063002/diff/40001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2155063002/diff/40001/src/core/SkCanvas.cpp#newcode2334 src/core/SkCanvas.cpp:2334: const SkPaint& pnt = looper.paint(); On 2016/07/18 17:01:58, robertphillips ...
4 years, 5 months ago (2016-07-19 15:07:41 UTC) #20
reed1
ptal
4 years, 5 months ago (2016-07-19 21:54:14 UTC) #27
robertphillips
https://codereview.chromium.org/2155063002/diff/180001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2155063002/diff/180001/src/core/SkCanvas.cpp#newcode2318 src/core/SkCanvas.cpp:2318: const SkPaint& pnt = looper.paint(); Do you think we ...
4 years, 5 months ago (2016-07-20 12:20:05 UTC) #32
robertphillips
lgtm if you would like to land as-is
4 years, 5 months ago (2016-07-20 12:27:00 UTC) #33
reed1
Will try to address the image-wrapped version in a follow-up CL https://codereview.chromium.org/2155063002/diff/180001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): ...
4 years, 5 months ago (2016-07-20 12:41:54 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2155063002/200001
4 years, 5 months ago (2016-07-20 12:56:40 UTC) #40
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 13:04:38 UTC) #42
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/a2217ef965e57fdbbf989989e7ec1f2c04f62d39

Powered by Google App Engine
This is Rietveld 408576698