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

Issue 14925010: Move loops that chain together effects into GrGLShaderBuilder from GrGLProgram. (Closed)

Created:
7 years, 7 months ago by bsalomon
Modified:
7 years, 7 months ago
Reviewers:
robertphillips
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Move loops that chain together effects into GrGLShaderBuilder from GrGLProgram. R=robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=9073

Patch Set 1 #

Patch Set 2 : revert GrEffect.h changes #

Patch Set 3 : cleanup #

Total comments: 11

Patch Set 4 : Address comments and fix for emitting code for skipped effects #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -149 lines) Patch
M src/gpu/gl/GrGLEffectMatrix.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 2 chunks +22 lines, -52 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 1 2 3 5 chunks +74 lines, -15 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 2 3 8 chunks +98 lines, -68 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 4 chunks +14 lines, -12 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
bsalomon
The motivation for this change is to make GrGLShaderBuilder know which effect is generating code ...
7 years, 7 months ago (2013-05-08 19:32:52 UTC) #1
robertphillips
lgtm + nits https://codereview.chromium.org/14925010/diff/4001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/14925010/diff/4001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode223 src/gpu/gl/GrGLShaderBuilder.cpp:223: if (fCodeStage.inStageCode()) { This '__' behavior ...
7 years, 7 months ago (2013-05-08 19:56:33 UTC) #2
bsalomon
https://codereview.chromium.org/14925010/diff/4001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/14925010/diff/4001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode223 src/gpu/gl/GrGLShaderBuilder.cpp:223: if (fCodeStage.inStageCode()) { On 2013/05/08 19:56:33, robertphillips wrote: > ...
7 years, 7 months ago (2013-05-08 20:38:54 UTC) #3
bsalomon
7 years, 7 months ago (2013-05-09 13:45:16 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r9073 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698