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

Issue 1774523002: make pm4f be RGBA always, not pmcolor order (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : update sprite blits #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : update dox #

Total comments: 3

Patch Set 5 : update colormatrixfilter to know about RGBA #

Total comments: 4

Patch Set 6 : actually fix colormatrices #

Patch Set 7 : use SkNx_shuffle #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -74 lines) Patch
M src/core/SkColor.cpp View 1 2 3 4 5 6 7 2 chunks +3 lines, -11 lines 0 comments Download
M src/core/SkColorMatrixFilterRowMajor255.cpp View 1 2 3 4 5 6 7 4 chunks +27 lines, -23 lines 0 comments Download
M src/core/SkPM4f.h View 1 2 3 4 5 6 2 chunks +31 lines, -10 lines 0 comments Download
M src/core/SkPM4fPriv.h View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M src/core/SkSpanProcs.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkXfermode4f.cpp View 1 2 3 4 9 chunks +19 lines, -10 lines 0 comments Download
M tests/SkColor4fTest.cpp View 1 2 3 4 7 chunks +25 lines, -16 lines 0 comments Download

Messages

Total messages: 33 (10 generated)
reed1
ptal This does not affect the order of SkColor4f (which is still ARGB). If we ...
4 years, 9 months ago (2016-03-07 15:58:15 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774523002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774523002/60001
4 years, 9 months ago (2016-03-07 15:59:29 UTC) #5
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/6813)
4 years, 9 months ago (2016-03-07 16:09:07 UTC) #7
herb_g
https://codereview.chromium.org/1774523002/diff/60001/src/core/SkPM4f.h File src/core/SkPM4f.h (right): https://codereview.chromium.org/1774523002/diff/60001/src/core/SkPM4f.h#newcode15 src/core/SkPM4f.h:15: return Sk4f(x[2], x[1], x[0], x[3]); How about SkNx_shuffle? return ...
4 years, 9 months ago (2016-03-07 16:11:04 UTC) #8
mtklein
https://codereview.chromium.org/1774523002/diff/40001/src/core/SkPM4f.h File src/core/SkPM4f.h (right): https://codereview.chromium.org/1774523002/diff/40001/src/core/SkPM4f.h#newcode15 src/core/SkPM4f.h:15: return Sk4f(x[2], x[1], x[0], x[3]); We'll have better opportunity ...
4 years, 9 months ago (2016-03-07 16:13:49 UTC) #9
f(malita)
On 2016/03/07 15:58:15, reed1 wrote: > ptal > > This does not affect the order ...
4 years, 9 months ago (2016-03-07 16:30:18 UTC) #10
reed1
We can still discuss whether to go with PM-order or Known-order. I have been leaning ...
4 years, 9 months ago (2016-03-07 16:54:56 UTC) #11
f(malita)
On 2016/03/07 16:54:56, reed1 wrote: > We can still discuss whether to go with PM-order ...
4 years, 9 months ago (2016-03-07 17:08:13 UTC) #12
mtklein
Sk4f bgra = SkNx_shuffle<2,1,0,3>(rgba) is about as cheap as you can get without being free.
4 years, 9 months ago (2016-03-07 17:12:38 UTC) #13
f(malita)
On 2016/03/07 17:12:38, mtklein wrote: > Sk4f bgra = SkNx_shuffle<2,1,0,3>(rgba) is about as cheap as ...
4 years, 9 months ago (2016-03-07 17:17:39 UTC) #14
reed1
https://codereview.chromium.org/1774523002/diff/40001/src/core/SkPM4f.h File src/core/SkPM4f.h (right): https://codereview.chromium.org/1774523002/diff/40001/src/core/SkPM4f.h#newcode15 src/core/SkPM4f.h:15: return Sk4f(x[2], x[1], x[0], x[3]); On 2016/03/07 16:13:49, mtklein ...
4 years, 9 months ago (2016-03-07 17:39:07 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/1774523002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774523002/80001
4 years, 9 months ago (2016-03-07 17:39:33 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/6803)
4 years, 9 months ago (2016-03-07 17:57:07 UTC) #19
mtklein
https://codereview.chromium.org/1774523002/diff/80001/src/core/SkColorMatrixFilterRowMajor255.cpp File src/core/SkColorMatrixFilterRowMajor255.cpp (right): https://codereview.chromium.org/1774523002/diff/80001/src/core/SkColorMatrixFilterRowMajor255.cpp#newcode128 src/core/SkColorMatrixFilterRowMajor255.cpp:128: return swizzle_rgba_to_pmorder(to_4f(c)) * Sk4f(1.0f/255); Let's not forget to go ...
4 years, 9 months ago (2016-03-07 18:01:14 UTC) #20
reed1
https://codereview.chromium.org/1774523002/diff/80001/src/core/SkColorMatrixFilterRowMajor255.cpp File src/core/SkColorMatrixFilterRowMajor255.cpp (right): https://codereview.chromium.org/1774523002/diff/80001/src/core/SkColorMatrixFilterRowMajor255.cpp#newcode128 src/core/SkColorMatrixFilterRowMajor255.cpp:128: return swizzle_rgba_to_pmorder(to_4f(c)) * Sk4f(1.0f/255); On 2016/03/07 18:01:14, mtklein wrote: ...
4 years, 9 months ago (2016-03-07 18:47:38 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/1774523002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774523002/140001
4 years, 9 months ago (2016-03-08 14:11:36 UTC) #23
reed1
florin, are we still ok to land this and *then* fix gradients?
4 years, 9 months ago (2016-03-08 14:11:51 UTC) #24
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/6860) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 9 months ago (2016-03-08 14:13:06 UTC) #26
f(malita)
On 2016/03/08 14:11:51, reed1 wrote: > florin, are we still ok to land this and ...
4 years, 9 months ago (2016-03-08 14:25:18 UTC) #27
f(malita)
lgtm
4 years, 9 months ago (2016-03-08 14:31:39 UTC) #28
mtklein
lgtm too
4 years, 9 months ago (2016-03-08 14:43:36 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774523002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774523002/140001
4 years, 9 months ago (2016-03-08 17:44:02 UTC) #31
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 18:09:21 UTC) #33
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/93bb080503eec5df5674a1bcfe4baaceced799ff

Powered by Google App Engine
This is Rietveld 408576698