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

Issue 1658623002: Add gpu implementation of SkAvoidXfermode (Closed)

Created:
4 years, 10 months ago by robertphillips
Modified:
4 years, 10 months ago
Reviewers:
egdaniel, bsalomon
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 : Add gpu implementation to SkAvoidXfermode #

Patch Set 3 : update #

Patch Set 4 : Finally working #

Patch Set 5 : Added comments #

Total comments: 7

Patch Set 6 : Address code review comments #

Patch Set 7 : Removed storage of unneeded data & added new GM #

Patch Set 8 : update to ToT #

Patch Set 9 : Fix up virtual call signature #

Patch Set 10 : Update factory counts #

Total comments: 4

Patch Set 11 : Address code review comments & fix shader test #

Total comments: 2

Patch Set 12 : Fix variable name #

Patch Set 13 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -7 lines) Patch
M gm/avoidxfermode.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A gm/avoidxfermode2.cpp View 1 2 3 4 5 6 1 chunk +84 lines, -0 lines 0 comments Download
M include/client/android/SkAvoidXfermode.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/effects/SkAvoidXfermode.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +374 lines, -1 line 0 comments Download
M src/effects/SkPixelXorXfermode.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 53 (26 generated)
robertphillips
4 years, 10 months ago (2016-02-02 17:26:01 UTC) #4
egdaniel
https://codereview.chromium.org/1658623002/diff/80001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/80001/src/effects/SkAvoidXfermode.cpp#newcode259 src/effects/SkAvoidXfermode.cpp:259: fragBuilder->codeAppendf("dist = dist * %s.a - (%s.a - 1.0);", ...
4 years, 10 months ago (2016-02-02 19:10:35 UTC) #5
robertphillips
https://codereview.chromium.org/1658623002/diff/80001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/80001/src/effects/SkAvoidXfermode.cpp#newcode259 src/effects/SkAvoidXfermode.cpp:259: fragBuilder->codeAppendf("dist = dist * %s.a - (%s.a - 1.0);", ...
4 years, 10 months ago (2016-02-02 19:35:14 UTC) #6
robertphillips
https://codereview.chromium.org/1658623002/diff/80001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/80001/src/effects/SkAvoidXfermode.cpp#newcode432 src/effects/SkAvoidXfermode.cpp:432: fMode = avoid.mode(); On 2016/02/02 19:10:35, egdaniel wrote: > ...
4 years, 10 months ago (2016-02-02 20:33:30 UTC) #7
egdaniel
lgtm
4 years, 10 months ago (2016-02-02 20:35:06 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/1658623002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/110001
4 years, 10 months ago (2016-02-02 20:39:32 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot/builds/1211) Build-Ubuntu-Clang-x86_64-Debug-Trybot on ...
4 years, 10 months ago (2016-02-02 20:40:41 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/130001
4 years, 10 months ago (2016-02-02 20:43:58 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot/builds/1212) Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on ...
4 years, 10 months ago (2016-02-02 20:45:23 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/150001
4 years, 10 months ago (2016-02-02 20:56:09 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot/builds/833)
4 years, 10 months ago (2016-02-02 21:13:05 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/1658623002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/170001
4 years, 10 months ago (2016-02-03 12:40:47 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-03 13:04:05 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/170001
4 years, 10 months ago (2016-02-03 13:16:23 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/5982)
4 years, 10 months ago (2016-02-03 13:17:36 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/170001
4 years, 10 months ago (2016-02-03 13:19:35 UTC) #33
commit-bot: I haz the power
Committed patchset #10 (id:170001) as https://skia.googlesource.com/skia/+/15691a055db9b68c9b48f589e48d8a85888cf83f
4 years, 10 months ago (2016-02-03 13:20:16 UTC) #35
mtklein
A revert of this CL (patchset #10 id:170001) has been created in https://codereview.chromium.org/1663093002/ by mtklein@google.com. ...
4 years, 10 months ago (2016-02-03 14:42:03 UTC) #36
egdaniel
https://codereview.chromium.org/1658623002/diff/170001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/170001/src/effects/SkAvoidXfermode.cpp#newcode285 src/effects/SkAvoidXfermode.cpp:285: fragBuilder->codeAppendf("%s = newCoverage * %s + (vec4(1.0)-newCoverage) * %s;", ...
4 years, 10 months ago (2016-02-03 15:09:57 UTC) #37
robertphillips
https://codereview.chromium.org/1658623002/diff/170001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/170001/src/effects/SkAvoidXfermode.cpp#newcode285 src/effects/SkAvoidXfermode.cpp:285: fragBuilder->codeAppendf("%s = newCoverage * %s + (vec4(1.0)-newCoverage) * %s;", ...
4 years, 10 months ago (2016-02-03 16:31:30 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/210001
4 years, 10 months ago (2016-02-03 16:33:39 UTC) #41
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot/builds/1243)
4 years, 10 months ago (2016-02-03 16:34:33 UTC) #43
egdaniel
lgtm with cleanup of parameters in helper function https://codereview.chromium.org/1658623002/diff/190001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/190001/src/effects/SkAvoidXfermode.cpp#newcode247 src/effects/SkAvoidXfermode.cpp:247: const ...
4 years, 10 months ago (2016-02-03 16:41:24 UTC) #44
robertphillips
https://codereview.chromium.org/1658623002/diff/190001/src/effects/SkAvoidXfermode.cpp File src/effects/SkAvoidXfermode.cpp (right): https://codereview.chromium.org/1658623002/diff/190001/src/effects/SkAvoidXfermode.cpp#newcode247 src/effects/SkAvoidXfermode.cpp:247: const char* srcColor, On 2016/02/03 16:41:24, egdaniel wrote: > ...
4 years, 10 months ago (2016-02-03 16:56:31 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/230001
4 years, 10 months ago (2016-02-03 16:56:48 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658623002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658623002/230001
4 years, 10 months ago (2016-02-03 17:28:50 UTC) #51
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 17:42:53 UTC) #53
Message was sent while issue was closed.
Committed patchset #13 (id:230001) as
https://skia.googlesource.com/skia/+/afb188de27d047c8327ccc7b099203e8fc2a4129

Powered by Google App Engine
This is Rietveld 408576698