|
|
Descriptionextend gm to test aa[] parameter on xfer4f procs
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1663643002
Committed: https://skia.googlesource.com/skia/+/ef5252e48ff6c5ed2b53b87333b7ed716c8b9035
Patch Set 1 #Patch Set 2 : fix aa code in both linear and srgb #
Total comments: 2
Patch Set 3 : add bench for aa code-path #Patch Set 4 : #Patch Set 5 : use new names if/when we scale s4 in srcover #
Total comments: 2
Patch Set 6 : make another const #Patch Set 7 : don't pass bad flags to factory #
Dependent Patchsets: Messages
Total messages: 40 (19 generated)
Description was changed from ========== extend gm to test aa[] parameter on xfer4f procs BUG=skia: ========== to ========== extend gm to test aa[] parameter on xfer4f procs BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ==========
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
reed@google.com changed reviewers: + herb@google.com, mtklein@google.com
as I suspected, if you don't test it (aa code path), it'll have bugs.
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/20001
https://codereview.chromium.org/1663643002/diff/20001/src/core/SkXfermode4f.cpp File src/core/SkXfermode4f.cpp (right): https://codereview.chromium.org/1663643002/diff/20001/src/core/SkXfermode4f.c... src/core/SkXfermode4f.cpp:279: Sk4f s4_aa = scale_by_coverage(s4, a); Ah! Let's make s4 and dst_scale const? I guarantee the compiler will allocate registers as well as we can manually if you just always give each new value a new name. All the good ones give each new value a new name internally anyway (this is "SSA" form, single static assignment).
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/40001
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/60001
The CQ bit was unchecked by commit-bot@chromium.org
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...)
https://codereview.chromium.org/1663643002/diff/20001/src/core/SkXfermode4f.cpp File src/core/SkXfermode4f.cpp (right): https://codereview.chromium.org/1663643002/diff/20001/src/core/SkXfermode4f.c... src/core/SkXfermode4f.cpp:279: Sk4f s4_aa = scale_by_coverage(s4, a); On 2016/02/03 01:32:55, mtklein wrote: > Ah! Let's make s4 and dst_scale const? > > I guarantee the compiler will allocate registers as well as we can manually if > you just always give each new value a new name. All the good ones give each new > value a new name internally anyway (this is "SSA" form, single static > assignment). ok
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/80001
The CQ bit was unchecked by commit-bot@chromium.org
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...)
will follow-up this with optimizations after this lands
ohter comments?
lgtm https://codereview.chromium.org/1663643002/diff/80001/src/core/SkXfermode4f.cpp File src/core/SkXfermode4f.cpp (right): https://codereview.chromium.org/1663643002/diff/80001/src/core/SkXfermode4f.c... src/core/SkXfermode4f.cpp:322: Sk4f s4_aa = scale_by_coverage(s4, a); Probably want const s4/dst_scale here too?
https://codereview.chromium.org/1663643002/diff/80001/src/core/SkXfermode4f.cpp File src/core/SkXfermode4f.cpp (right): https://codereview.chromium.org/1663643002/diff/80001/src/core/SkXfermode4f.c... src/core/SkXfermode4f.cpp:322: Sk4f s4_aa = scale_by_coverage(s4, a); On 2016/02/03 14:51:28, mtklein wrote: > Probably want const s4/dst_scale here too? Done.
The CQ bit was checked by reed@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from mtklein@google.com Link to the patchset: https://codereview.chromium.org/1663643002/#ps100001 (title: "make another const")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/100001
The CQ bit was unchecked by commit-bot@chromium.org
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...)
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/120001
The CQ bit was unchecked by reed@google.com
The CQ bit was checked by reed@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from mtklein@google.com Link to the patchset: https://codereview.chromium.org/1663643002/#ps120001 (title: "don't pass bad flags to factory")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663643002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663643002/120001
Message was sent while issue was closed.
Description was changed from ========== extend gm to test aa[] parameter on xfer4f procs BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ========== to ========== extend gm to test aa[] parameter on xfer4f procs BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... Committed: https://skia.googlesource.com/skia/+/ef5252e48ff6c5ed2b53b87333b7ed716c8b9035 ==========
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/ef5252e48ff6c5ed2b53b87333b7ed716c8b9035 |