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

Issue 1886233006: Add 8888 fast SrcOver mode. (Closed)

Created:
4 years, 8 months ago by herb_g
Modified:
4 years, 7 months ago
Reviewers:
mtklein, f(malita)
CC:
mtklein, reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add 8888 fast SrcOver mode. The SkLinearBitmapPipeline_tile change is an edge case fix. This will not function until gDefaultProfileSRGB in SkImageInfo is set to true. The srcover implementation is not the fastest, and I'm working on a better version. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1886233006 Committed: https://skia.googlesource.com/skia/+/871a0484305e9c051e2d78b62e1f2a5fa4bdb3a4

Patch Set 1 #

Patch Set 2 : Good. #

Patch Set 3 : WIP: before squash. #

Patch Set 4 : Working alpha 8888. #

Patch Set 5 : sync #

Patch Set 6 : more sync #

Patch Set 7 : revert even more. #

Patch Set 8 : revret more. #

Patch Set 9 : Force whitespace change. #

Patch Set 10 : WIP: for weekend. #

Patch Set 11 : Working. #

Patch Set 12 : Clean CL #

Total comments: 7

Patch Set 13 : Use SkOpts entry point. #

Patch Set 14 : Fix includes. #

Patch Set 15 : Remove srgb curve functions. #

Total comments: 1

Patch Set 16 : Addresss mtk's review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -19 lines) Patch
M src/core/SkLinearBitmapPipeline.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +105 lines, -18 lines 0 comments Download
M src/core/SkLinearBitmapPipeline_core.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkLinearBitmapPipeline_tile.h View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 42 (13 generated)
herb_g
Good.
4 years, 8 months ago (2016-04-15 21:02:26 UTC) #2
herb_g
WIP: before squash.
4 years, 8 months ago (2016-04-21 15:45:44 UTC) #3
herb_g
Working alpha 8888.
4 years, 8 months ago (2016-04-22 18:39:47 UTC) #4
herb_g
sync
4 years, 8 months ago (2016-04-22 18:40:18 UTC) #5
herb_g
more sync
4 years, 8 months ago (2016-04-22 18:45:18 UTC) #6
herb_g
revert even more.
4 years, 8 months ago (2016-04-22 18:50:35 UTC) #7
herb_g
revret more.
4 years, 8 months ago (2016-04-22 18:54:24 UTC) #8
herb_g
Force whitespace change.
4 years, 8 months ago (2016-04-22 18:56:08 UTC) #9
herb_g
WIP: for weekend.
4 years, 8 months ago (2016-04-22 21:03:45 UTC) #10
herb_g
Working.
4 years, 8 months ago (2016-04-25 19:42:52 UTC) #11
herb_g
Clean CL
4 years, 8 months ago (2016-04-26 15:30:26 UTC) #12
herb_g
4 years, 8 months ago (2016-04-26 15:40:06 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886233006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886233006/220001
4 years, 8 months ago (2016-04-26 15:40:30 UTC) #17
commit-bot: I haz the power
Dry run: 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/8106) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 8 months ago (2016-04-26 15:41:21 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886233006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886233006/220001
4 years, 8 months ago (2016-04-26 17:02:47 UTC) #21
commit-bot: I haz the power
Dry run: 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/8109) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 8 months ago (2016-04-26 17:03:41 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886233006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886233006/220001
4 years, 8 months ago (2016-04-26 19:46:43 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 20:09:35 UTC) #27
f(malita)
https://codereview.chromium.org/1886233006/diff/220001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1886233006/diff/220001/src/core/SkLinearBitmapPipeline.cpp#newcode640 src/core/SkLinearBitmapPipeline.cpp:640: dstPixel *= 255.0f; Can we avoid the 255 divs/mult ...
4 years, 7 months ago (2016-04-27 15:51:17 UTC) #28
mtklein
https://codereview.chromium.org/1886233006/diff/220001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1886233006/diff/220001/src/core/SkLinearBitmapPipeline.cpp#newcode629 src/core/SkLinearBitmapPipeline.cpp:629: void lerp_pixel(const uint32_t* src, uint32_t* dst) { Let's not ...
4 years, 7 months ago (2016-04-27 16:10:04 UTC) #30
herb_g
Use SkOpts entry point.
4 years, 7 months ago (2016-05-02 20:02:12 UTC) #31
herb_g
Fix includes.
4 years, 7 months ago (2016-05-02 20:04:24 UTC) #32
herb_g
Remove srgb curve functions.
4 years, 7 months ago (2016-05-02 20:11:35 UTC) #33
herb_g
PTAL. I've switch over to using the SkOpt entry point.
4 years, 7 months ago (2016-05-02 20:12:29 UTC) #34
mtklein
lgtm https://codereview.chromium.org/1886233006/diff/280001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1886233006/diff/280001/src/core/SkLinearBitmapPipeline.cpp#newcode675 src/core/SkLinearBitmapPipeline.cpp:675: (SkOpts::srcover_srgb_srgb)(fDest, beginSpan, span.count() * repeatCount, span.count()); SkOpts::srcover_srgb_srgb(fDest, beginSpan, ...
4 years, 7 months ago (2016-05-02 21:22:16 UTC) #35
f(malita)
lgtm
4 years, 7 months ago (2016-05-03 12:47:21 UTC) #36
herb_g
Addresss mtk's review.
4 years, 7 months ago (2016-05-03 15:00:50 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886233006/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886233006/300001
4 years, 7 months ago (2016-05-03 15:01:08 UTC) #40
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 15:11:55 UTC) #42
Message was sent while issue was closed.
Committed patchset #16 (id:300001) as
https://skia.googlesource.com/skia/+/871a0484305e9c051e2d78b62e1f2a5fa4bdb3a4

Powered by Google App Engine
This is Rietveld 408576698