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

Issue 1288723002: Added mangleString member and onBefore*, onAfter* functions to GrGLFragmentShaderBuilder (Closed)

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

Description

Added mangleString member and onBefore*, onAfter* functions to GrGLFragmentShaderBuilder BUILDS! Added mangleString, onBefore, and onAfterChildProcEmitCode() to GrGLFragmentShaderBuilder.cpp BUG=skia:4182 Committed: https://skia.googlesource.com/skia/+/7ef45a1aeb2c764d41838323f5bcff149c5de756

Patch Set 1 #

Total comments: 10

Patch Set 2 : fixed Josh's nits #

Patch Set 3 : Added a missing brace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -2 lines) Patch
M include/core/SkString.h View 2 chunks +9 lines, -0 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.h View 1 2 chunks +51 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp View 1 chunk +12 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (5 generated)
wangyix
Two members were added to GrGLFragmentShaderBuilder: fSubstageIndices and fMangleString. fSubstageIndices is a stack of indices ...
5 years, 4 months ago (2015-08-12 16:38:47 UTC) #2
joshualitt
https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h File src/gpu/gl/builders/GrGLFragmentShaderBuilder.h (right): https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h#newcode61 src/gpu/gl/builders/GrGLFragmentShaderBuilder.h:61: if (fSubstageIndices.count() > 1) Braces https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h#newcode62 src/gpu/gl/builders/GrGLFragmentShaderBuilder.h:62: return fSubstageIndices[fSubstageIndices.count() ...
5 years, 4 months ago (2015-08-12 17:14:53 UTC) #3
bsalomon
I defer to Josh on this one.
5 years, 4 months ago (2015-08-12 17:28:05 UTC) #4
wangyix
https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h File src/gpu/gl/builders/GrGLFragmentShaderBuilder.h (right): https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h#newcode61 src/gpu/gl/builders/GrGLFragmentShaderBuilder.h:61: if (fSubstageIndices.count() > 1) On 2015/08/12 17:14:53, joshualitt wrote: ...
5 years, 4 months ago (2015-08-12 18:00:33 UTC) #5
joshualitt
On 2015/08/12 18:00:33, wangyix wrote: > https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h > File src/gpu/gl/builders/GrGLFragmentShaderBuilder.h (right): > > https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h#newcode61 > ...
5 years, 4 months ago (2015-08-12 18:45:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288723002/20001
5 years, 4 months ago (2015-08-12 20:48:00 UTC) #8
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/1821)
5 years, 4 months ago (2015-08-12 20:49:04 UTC) #10
wangyix
On 2015/08/12 18:45:18, joshualitt wrote: > On 2015/08/12 18:00:33, wangyix wrote: > > > https://codereview.chromium.org/1288723002/diff/1/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h ...
5 years, 4 months ago (2015-08-12 20:57:54 UTC) #11
bsalomon
On 2015/08/12 20:57:54, wangyix wrote: > On 2015/08/12 18:45:18, joshualitt wrote: > > On 2015/08/12 ...
5 years, 4 months ago (2015-08-13 13:41:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288723002/40001
5 years, 4 months ago (2015-08-13 13:44:30 UTC) #15
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 13:51:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/7ef45a1aeb2c764d41838323f5bcff149c5de756

Powered by Google App Engine
This is Rietveld 408576698