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

Issue 1306163005: Added function CreateFrom2Procs() in new namespace GrXfermodeFragmentProcessor (Closed)

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

Description

Brian requested a new namespace for factories that create fragment processors that combine 2 things with a xfermode. This way, we can change the implementation of these factories in the future to not use GrComposeEffect if desired. BUG=skia:4182 Committed: https://skia.googlesource.com/skia/+/809e5afdd95962465a51e3dbab707abf9d594fab

Patch Set 1 : #

Patch Set 2 : added mode <= kLastCoeffMode checks #

Total comments: 7

Patch Set 3 : Brian's changes #

Patch Set 4 : added mode <= kLastCoefficientMode check #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -141 lines) Patch
M gyp/gpu.gypi View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A include/gpu/effects/GrXfermodeFragmentProcessor.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M src/core/SkComposeShader.cpp View 1 2 3 chunks +3 lines, -141 lines 0 comments Download
A src/gpu/effects/GrXfermodeFragmentProcessor.cpp View 1 2 3 4 5 1 chunk +168 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (8 generated)
wangyix
5 years, 3 months ago (2015-09-02 15:48:50 UTC) #4
joshualitt
On 2015/09/02 15:48:50, wangyix wrote: lgtm
5 years, 3 months ago (2015-09-02 17:36:09 UTC) #5
tomhudson
https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h File include/core/SkComposeShader.h (right): https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode93 include/core/SkComposeShader.h:93: #include "SkString.h" Move the #includes to the top, please.
5 years, 3 months ago (2015-09-02 20:02:36 UTC) #6
egdaniel
https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h File include/core/SkComposeShader.h (right): https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode93 include/core/SkComposeShader.h:93: #include "SkString.h" On 2015/09/02 20:02:36, tomhudson wrote: > Move ...
5 years, 3 months ago (2015-09-02 20:12:44 UTC) #7
tomhudson
On 2015/09/02 20:12:44, egdaniel wrote: > https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h > File include/core/SkComposeShader.h (right): > > https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode93 > ...
5 years, 3 months ago (2015-09-02 20:36:18 UTC) #9
bsalomon
https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h File include/core/SkComposeShader.h (right): https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode91 include/core/SkComposeShader.h:91: #if SK_SUPPORT_GPU I don't think we should be exposing ...
5 years, 3 months ago (2015-09-08 15:10:57 UTC) #10
wangyix
https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h File include/core/SkComposeShader.h (right): https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode91 include/core/SkComposeShader.h:91: #if SK_SUPPORT_GPU On 2015/09/08 15:10:57, bsalomon wrote: > I ...
5 years, 3 months ago (2015-09-09 17:32:35 UTC) #11
bsalomon
https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h File include/core/SkComposeShader.h (right): https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode91 include/core/SkComposeShader.h:91: #if SK_SUPPORT_GPU On 2015/09/09 17:32:35, wangyix wrote: > On ...
5 years, 3 months ago (2015-09-09 17:34:56 UTC) #12
wangyix
https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h File include/core/SkComposeShader.h (right): https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode91 include/core/SkComposeShader.h:91: #if SK_SUPPORT_GPU On 2015/09/09 17:34:56, bsalomon wrote: > On ...
5 years, 3 months ago (2015-09-09 17:41:08 UTC) #13
bsalomon
On 2015/09/09 17:41:08, wangyix wrote: > https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h > File include/core/SkComposeShader.h (right): > > https://codereview.chromium.org/1306163005/diff/60001/include/core/SkComposeShader.h#newcode91 > ...
5 years, 3 months ago (2015-09-09 17:57:05 UTC) #14
wangyix
I did Brian's changes; the only weird thing is that SkComposeShader::asFragmentProcessor() has mode optimizations, and ...
5 years, 3 months ago (2015-09-09 19:10:21 UTC) #15
bsalomon
On 2015/09/09 19:10:21, wangyix wrote: > I did Brian's changes; the only weird thing is ...
5 years, 3 months ago (2015-09-09 19:22:23 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306163005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306163005/160001
5 years, 3 months ago (2015-09-09 19:52:08 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-09 19:57:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306163005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306163005/160001
5 years, 3 months ago (2015-09-09 19:57:46 UTC) #23
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 19:58:35 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://skia.googlesource.com/skia/+/809e5afdd95962465a51e3dbab707abf9d594fab

Powered by Google App Engine
This is Rietveld 408576698