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

Issue 2146413002: Add SkRasterPipeline blitter. (Closed)

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

Description

Add SkRasterPipeline blitter. This is now pixel-exact with the existing sRGB SW impl as far as I've tested. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2146413002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot,Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN-Trybot Committed: https://skia.googlesource.com/skia/+/3011e337693a9786f62d8de9ac4b239ad6dbdaca Committed: https://skia.googlesource.com/skia/+/9a5c47f4effba3b48a9a8c7c144b72b532d06efe

Patch Set 1 #

Patch Set 2 : Looking real. #

Patch Set 3 : blitH seems plausible #

Patch Set 4 : first pass on blitAntiH #

Patch Set 5 : first blitMask pass #

Patch Set 6 : sigh, use constants... it is bgr565 #

Patch Set 7 : tweaks and comments #

Patch Set 8 : rebase #

Patch Set 9 : force opaque when using lcd coverage #

Patch Set 10 : handle paint color conversion ourselves #

Patch Set 11 : moot #

Patch Set 12 : misleading comment #

Total comments: 7

Patch Set 13 : class, SkCoreBlitters #

Patch Set 14 : Rebase. Diffs are now just lcd text. #

Patch Set 15 : Work around contains(x,y) asserts in mask.getAddr*(). We add it back... #

Patch Set 16 : restore clamps #

Patch Set 17 : undo clamp... no double clamp #

Patch Set 18 : Fix bgra. Now pixel perfect. #

Patch Set 19 : Do not leak the blitter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+383 lines, -7 lines) Patch
M gyp/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkColorFilter.h View 3 chunks +5 lines, -0 lines 0 comments Download
M include/core/SkXfermode.h View 4 chunks +7 lines, -3 lines 0 comments Download
M src/core/SkBlitter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkColorFilter.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M src/core/SkCoreBlitters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkRasterPipeline.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M src/core/SkRasterPipeline.cpp View 1 1 chunk +14 lines, -2 lines 0 comments Download
A src/core/SkRasterPipelineBlitter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +326 lines, -0 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (35 generated)
mtklein_C
4 years, 5 months ago (2016-07-15 19:54:30 UTC) #5
mtklein_C
4 years, 5 months ago (2016-07-19 16:12:51 UTC) #6
reed1
love it lgtm https://codereview.chromium.org/2146413002/diff/220001/src/core/SkRasterPipelineBlitter.cpp File src/core/SkRasterPipelineBlitter.cpp (right): https://codereview.chromium.org/2146413002/diff/220001/src/core/SkRasterPipelineBlitter.cpp#newcode18 src/core/SkRasterPipelineBlitter.cpp:18: struct SkRasterPipelineBlitter : public SkBlitter { ...
4 years, 5 months ago (2016-07-20 13:09:59 UTC) #7
mtklein
https://codereview.chromium.org/2146413002/diff/220001/src/core/SkRasterPipelineBlitter.cpp File src/core/SkRasterPipelineBlitter.cpp (right): https://codereview.chromium.org/2146413002/diff/220001/src/core/SkRasterPipelineBlitter.cpp#newcode18 src/core/SkRasterPipelineBlitter.cpp:18: struct SkRasterPipelineBlitter : public SkBlitter { On 2016/07/20 13:09:59, ...
4 years, 5 months ago (2016-07-20 13:29:03 UTC) #9
reed1
lgtm https://codereview.chromium.org/2146413002/diff/220001/src/core/SkRasterPipelineBlitter.cpp File src/core/SkRasterPipelineBlitter.cpp (right): https://codereview.chromium.org/2146413002/diff/220001/src/core/SkRasterPipelineBlitter.cpp#newcode263 src/core/SkRasterPipelineBlitter.cpp:263: if (!paint.getShader()) { On 2016/07/20 13:29:03, mtklein wrote: ...
4 years, 5 months ago (2016-07-20 13:32:39 UTC) #11
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/2146413002/260001
4 years, 5 months ago (2016-07-21 01:38:23 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/9895)
4 years, 5 months ago (2016-07-21 01:46:53 UTC) #17
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/2146413002/280001
4 years, 5 months ago (2016-07-21 02:02:06 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/9896)
4 years, 5 months ago (2016-07-21 02:11:17 UTC) #22
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/2146413002/300001
4 years, 5 months ago (2016-07-21 02:42:54 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/9897)
4 years, 5 months ago (2016-07-21 02:52:45 UTC) #27
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/2146413002/340001
4 years, 5 months ago (2016-07-22 15:52:34 UTC) #42
commit-bot: I haz the power
Committed patchset #18 (id:340001) as https://skia.googlesource.com/skia/+/3011e337693a9786f62d8de9ac4b239ad6dbdaca
4 years, 5 months ago (2016-07-22 15:53:31 UTC) #44
mtklein
A revert of this CL (patchset #18 id:340001) has been created in https://codereview.chromium.org/2178523002/ by mtklein@google.com. ...
4 years, 5 months ago (2016-07-22 17:20:32 UTC) #45
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/2146413002/360001
4 years, 5 months ago (2016-07-22 17:36:13 UTC) #49
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 18:05:08 UTC) #51
Message was sent while issue was closed.
Committed patchset #19 (id:360001) as
https://skia.googlesource.com/skia/+/9a5c47f4effba3b48a9a8c7c144b72b532d06efe

Powered by Google App Engine
This is Rietveld 408576698