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

Issue 1321253003: emitChild() takes an outputColor instead of generating one (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_composeshader2
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

emitChild() used to generate a mangled outputColor based on the parent's outputColor; now it just accepts an outputColor string. It's now up to the programmer to declare outputColors if needed before emitting child code. BUG=skia:4182 Committed: https://skia.googlesource.com/skia/+/54a6b1a1228489161294e4fa1fc8f93797cff259

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -38 lines) Patch
M src/core/SkComposeShader.cpp View 1 1 chunk +12 lines, -7 lines 0 comments Download
M src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M src/gpu/gl/GrGLFragmentProcessor.h View 1 chunk +6 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLFragmentProcessor.cpp View 2 chunks +2 lines, -7 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.h View 1 chunk +0 lines, -18 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp View 1 chunk +6 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (6 generated)
wangyix
5 years, 3 months ago (2015-08-31 20:33:31 UTC) #2
bsalomon
otherwise lgtm https://codereview.chromium.org/1321253003/diff/1/src/core/SkComposeShader.cpp File src/core/SkComposeShader.cpp (right): https://codereview.chromium.org/1321253003/diff/1/src/core/SkComposeShader.cpp#newcode288 src/core/SkComposeShader.cpp:288: outputColorA.append("_dst"); Your code should already be enclosed ...
5 years, 3 months ago (2015-08-31 20:41:38 UTC) #3
wangyix
https://codereview.chromium.org/1321253003/diff/1/src/core/SkComposeShader.cpp File src/core/SkComposeShader.cpp (right): https://codereview.chromium.org/1321253003/diff/1/src/core/SkComposeShader.cpp#newcode288 src/core/SkComposeShader.cpp:288: outputColorA.append("_dst"); On 2015/08/31 20:41:38, bsalomon wrote: > Your code ...
5 years, 3 months ago (2015-08-31 22:01:22 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/1321253003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321253003/20001
5 years, 3 months ago (2015-08-31 22:01:53 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-31 22:09:25 UTC) #8
joshualitt
https://codereview.chromium.org/1321253003/diff/20001/src/gpu/gl/GrGLFragmentProcessor.cpp File src/gpu/gl/GrGLFragmentProcessor.cpp (left): https://codereview.chromium.org/1321253003/diff/20001/src/gpu/gl/GrGLFragmentProcessor.cpp#oldcode32 src/gpu/gl/GrGLFragmentProcessor.cpp:32: Is outputcolor no longer being mangled?
5 years, 3 months ago (2015-09-01 13:59:14 UTC) #9
wangyix
https://codereview.chromium.org/1321253003/diff/20001/src/gpu/gl/GrGLFragmentProcessor.cpp File src/gpu/gl/GrGLFragmentProcessor.cpp (left): https://codereview.chromium.org/1321253003/diff/20001/src/gpu/gl/GrGLFragmentProcessor.cpp#oldcode32 src/gpu/gl/GrGLFragmentProcessor.cpp:32: On 2015/09/01 13:59:14, joshualitt wrote: > Is outputcolor no ...
5 years, 3 months ago (2015-09-01 14:09:12 UTC) #10
joshualitt
On 2015/09/01 14:09:12, wangyix wrote: > https://codereview.chromium.org/1321253003/diff/20001/src/gpu/gl/GrGLFragmentProcessor.cpp > File src/gpu/gl/GrGLFragmentProcessor.cpp (left): > > https://codereview.chromium.org/1321253003/diff/20001/src/gpu/gl/GrGLFragmentProcessor.cpp#oldcode32 > ...
5 years, 3 months ago (2015-09-01 14:48:51 UTC) #11
wangyix
On 2015/09/01 14:48:51, joshualitt wrote: > Okay, but at least SkComposeShader should definitely mangle dst/src. ...
5 years, 3 months ago (2015-09-01 17:32:47 UTC) #12
joshualitt
On 2015/09/01 17:32:47, wangyix wrote: > On 2015/09/01 14:48:51, joshualitt wrote: > > Okay, but ...
5 years, 3 months ago (2015-09-01 17:51:35 UTC) #13
bsalomon
On 2015/09/01 17:51:35, joshualitt wrote: > On 2015/09/01 17:32:47, wangyix wrote: > > On 2015/09/01 ...
5 years, 3 months ago (2015-09-08 13:28:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321253003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321253003/40001
5 years, 3 months ago (2015-09-08 15:36:44 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-08 15:41:54 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://skia.googlesource.com/skia/+/54a6b1a1228489161294e4fa1fc8f93797cff259

Powered by Google App Engine
This is Rietveld 408576698