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

Issue 1685203002: lots of sRGB and F16 blits (Closed)

Created:
4 years, 10 months ago by reed1
Modified:
4 years, 10 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

lots of sRGB and F16 blits - generalize F16 xfermode procs - spriteblits for F16 and sRGB - saveLayer now respects colortype and profiletype BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1686013002 Committed: https://skia.googlesource.com/skia/+/129ed1cd6d792f3f6cf563aefa9756fc6308289d

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : xfermodes gm now works in srgb and f16 using saveLayer #

Total comments: 5

Patch Set 4 : add srgb sprite blits #

Patch Set 5 : misc fixes to cycle through all samples #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : use SkAutoTMalloc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+473 lines, -158 lines) Patch
M bench/XferU64Bench.cpp View 1 2 4 chunks +28 lines, -25 lines 0 comments Download
M gm/xfermodes.cpp View 1 2 1 chunk +6 lines, -44 lines 0 comments Download
M gyp/core.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M include/core/SkXfermode.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcShader.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBlitter.cpp View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M src/core/SkBlitter_PM4f.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBlitter_Sprite.cpp View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 6 5 chunks +42 lines, -6 lines 0 comments Download
A src/core/SkSpanProcs.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A src/core/SkSpanProcs.cpp View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M src/core/SkSpriteBlitter.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
A src/core/SkSpriteBlitter4f.cpp View 1 2 3 4 5 6 7 1 chunk +137 lines, -0 lines 0 comments Download
M src/core/SkSpriteBlitter_ARGB32.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M src/core/SkXfermode4f.cpp View 1 2 3 4 5 3 chunks +48 lines, -65 lines 0 comments Download
M src/core/SkXfermodeU64.cpp View 1 2 6 chunks +60 lines, -7 lines 0 comments Download

Messages

Total messages: 44 (19 generated)
reed1
4 years, 10 months ago (2016-02-10 19:59:17 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/20001
4 years, 10 months ago (2016-02-10 19:59:34 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 20:27:22 UTC) #6
reed1
ptal
4 years, 10 months ago (2016-02-19 19:28:16 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/40001
4 years, 10 months ago (2016-02-19 19:28:27 UTC) #10
reed1
This one was fun... To test the full half-float blend modes, I change the GM ...
4 years, 10 months ago (2016-02-19 19:39:47 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 20:06:18 UTC) #13
reed1
4 years, 10 months ago (2016-02-19 20:14:31 UTC) #15
f(malita)
https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp File src/core/SkSpriteBlitterU64.cpp (right): https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp#newcode30 src/core/SkSpriteBlitterU64.cpp:30: (SkNx_cast<float>(Sk4b::Load(&addr[i])) * Sk4f(1.0f/255)).store(span[i].fVec); Is there a benefit to loading ...
4 years, 10 months ago (2016-02-19 20:38:43 UTC) #16
mtklein
https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp File src/core/SkSpriteBlitterU64.cpp (right): https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp#newcode30 src/core/SkSpriteBlitterU64.cpp:30: (SkNx_cast<float>(Sk4b::Load(&addr[i])) * Sk4f(1.0f/255)).store(span[i].fVec); On 2016/02/19 20:38:43, f(malita) wrote: > ...
4 years, 10 months ago (2016-02-19 20:41:17 UTC) #17
f(malita)
On 2016/02/19 20:41:17, mtklein wrote: > https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp > File src/core/SkSpriteBlitterU64.cpp (right): > > https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp#newcode30 > ...
4 years, 10 months ago (2016-02-19 20:58:31 UTC) #18
mtklein
On 2016/02/19 20:58:31, f(malita) wrote: > On 2016/02/19 20:41:17, mtklein wrote: > > > https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp ...
4 years, 10 months ago (2016-02-19 21:15:18 UTC) #19
herb_g
https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp File src/core/SkSpriteBlitterU64.cpp (right): https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp#newcode6 src/core/SkSpriteBlitterU64.cpp:6: * found in the LICENSE file. I think this ...
4 years, 10 months ago (2016-02-19 21:36:46 UTC) #20
reed1
ptal https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp File src/core/SkSpriteBlitterU64.cpp (right): https://codereview.chromium.org/1685203002/diff/40001/src/core/SkSpriteBlitterU64.cpp#newcode6 src/core/SkSpriteBlitterU64.cpp:6: * found in the LICENSE file. On 2016/02/19 ...
4 years, 10 months ago (2016-02-20 19:37:17 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/60001
4 years, 10 months ago (2016-02-20 19:38:06 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-20 20:01:22 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/80001
4 years, 10 months ago (2016-02-20 20:30:21 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-20 20:53:10 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/100001
4 years, 10 months ago (2016-02-21 03:32:57 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/120001
4 years, 10 months ago (2016-02-21 03:40:13 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-21 04:03:41 UTC) #37
f(malita)
lgtm https://codereview.chromium.org/1685203002/diff/120001/src/core/SkSpriteBlitter4f.cpp File src/core/SkSpriteBlitter4f.cpp (right): https://codereview.chromium.org/1685203002/diff/120001/src/core/SkSpriteBlitter4f.cpp#newcode17 src/core/SkSpriteBlitter4f.cpp:17: fBuffer = new SkPM4f[src.width()]; Nit: SkAutoTMalloc instead of ...
4 years, 10 months ago (2016-02-22 13:58:18 UTC) #38
reed1
https://codereview.chromium.org/1685203002/diff/120001/src/core/SkSpriteBlitter4f.cpp File src/core/SkSpriteBlitter4f.cpp (right): https://codereview.chromium.org/1685203002/diff/120001/src/core/SkSpriteBlitter4f.cpp#newcode17 src/core/SkSpriteBlitter4f.cpp:17: fBuffer = new SkPM4f[src.width()]; On 2016/02/22 13:58:18, f(malita) wrote: ...
4 years, 10 months ago (2016-02-22 14:17:22 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685203002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685203002/140001
4 years, 10 months ago (2016-02-22 14:17:38 UTC) #42
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 14:42:35 UTC) #44
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/129ed1cd6d792f3f6cf563aefa9756fc6308289d

Powered by Google App Engine
This is Rietveld 408576698