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

Issue 1324743002: Clean up remaining users of SkPMFloat (Closed)

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

Description

Clean up remaining users of SkPMFloat This switches over SkXfermodes_opts.h and SkColorMatrixFilter to use Sk4f, and converts the SkPMFloat benches to Sk4f benches. No pixels should change here, and no code beyond the Sk4f_ benches should change speed. The benches are faster than the old versions. BUG=skia:4117 Committed: https://skia.googlesource.com/skia/+/dde03ff89f58d7df9b9e37ca06c2ce8ea67ec7a2

Patch Set 1 #

Patch Set 2 : Wean PMFloatBench off SkPMFloat. Rename it. Go faster. #

Patch Set 3 : rebase #

Patch Set 4 : more #

Patch Set 5 : the rest #

Patch Set 6 : include #

Patch Set 7 : win #

Patch Set 8 : one more #

Total comments: 4

Patch Set 9 : scale_rgb #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -268 lines) Patch
D bench/PMFloatBench.cpp View 1 1 chunk +0 lines, -85 lines 0 comments Download
A + bench/Sk4fBench.cpp View 1 2 3 4 5 5 chunks +20 lines, -28 lines 0 comments Download
D src/core/SkPMFloat.h View 1 2 3 4 1 chunk +0 lines, -69 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -21 lines 0 comments Download
M src/opts/SkXfermode_opts.h View 1 2 3 4 5 6 7 9 chunks +40 lines, -26 lines 0 comments Download
D tests/PMFloatTest.cpp View 1 2 3 1 chunk +0 lines, -38 lines 0 comments Download

Messages

Total messages: 26 (11 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/1324743002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324743002/70001
5 years, 3 months ago (2015-08-31 21:40:37 UTC) #2
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/2909) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
5 years, 3 months ago (2015-08-31 21:41:36 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324743002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324743002/110001
5 years, 3 months ago (2015-08-31 21:46:28 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/2984)
5 years, 3 months ago (2015-08-31 21:50:08 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/1324743002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324743002/130001
5 years, 3 months ago (2015-08-31 21:50:27 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-31 21:55:04 UTC) #12
mtklein_C
5 years, 3 months ago (2015-08-31 22:05:57 UTC) #14
reed1
https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp File src/effects/SkColorMatrixFilter.cpp (right): https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp#newcode243 src/effects/SkColorMatrixFilter.cpp:243: static_assert(SK_A32_SHIFT == 24, ""); why do we need this ...
5 years, 3 months ago (2015-08-31 22:09:37 UTC) #15
mtklein
https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp File src/effects/SkColorMatrixFilter.cpp (right): https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp#newcode243 src/effects/SkColorMatrixFilter.cpp:243: static_assert(SK_A32_SHIFT == 24, ""); On 2015/08/31 22:09:37, reed1 wrote: ...
5 years, 3 months ago (2015-08-31 22:13:13 UTC) #17
reed1
lgtm https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp File src/effects/SkColorMatrixFilter.cpp (right): https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp#newcode243 src/effects/SkColorMatrixFilter.cpp:243: static_assert(SK_A32_SHIFT == 24, ""); On 2015/08/31 22:13:13, mtklein ...
5 years, 3 months ago (2015-08-31 22:15:08 UTC) #18
mtklein
https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp File src/effects/SkColorMatrixFilter.cpp (right): https://codereview.chromium.org/1324743002/diff/130001/src/effects/SkColorMatrixFilter.cpp#newcode243 src/effects/SkColorMatrixFilter.cpp:243: static_assert(SK_A32_SHIFT == 24, ""); On 2015/08/31 22:15:08, reed1 wrote: ...
5 years, 3 months ago (2015-08-31 22:18:10 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/1324743002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324743002/150001
5 years, 3 months ago (2015-08-31 22:20:33 UTC) #21
reed1
nice, lgtm
5 years, 3 months ago (2015-08-31 22:22:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324743002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324743002/150001
5 years, 3 months ago (2015-08-31 22:24:03 UTC) #25
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 22:26:11 UTC) #26
Message was sent while issue was closed.
Committed patchset #9 (id:150001) as
https://skia.googlesource.com/skia/+/dde03ff89f58d7df9b9e37ca06c2ce8ea67ec7a2

Powered by Google App Engine
This is Rietveld 408576698