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

Issue 13069003: Replace edge types with GrEdgeEffect. (Closed)

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

Description

Replace edge types with GrEdgeEffect. This strips out last of the edge types and the fixed function edge attribute and replaces them with using GrEdgeEffect. Also fixes a minor bug when checking attribute counts -- it was using kAttribIndexCount instead of kVertexAttribCnt. Original Author: jvanverth@google.com Committed: https://code.google.com/p/skia/source/detail?r=8392

Patch Set 1 #

Total comments: 5

Patch Set 2 : Replace edge types with GrEdgeEffect. #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -202 lines) Patch
M gyp/gpu.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 4 chunks +16 lines, -6 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 7 chunks +19 lines, -8 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 7 chunks +1 line, -57 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 4 chunks +13 lines, -18 lines 0 comments Download
A src/gpu/effects/GrEdgeEffect.h View 1 2 3 1 chunk +85 lines, -0 lines 3 comments Download
A src/gpu/effects/GrEdgeEffect.cpp View 2 3 1 chunk +137 lines, -0 lines 2 comments Download
M src/gpu/gl/GrGLProgram.h View 1 3 chunks +0 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 9 chunks +3 lines, -90 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 chunks +4 lines, -15 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
bsalomon
This is mostly the same as Jim's change. I just check the caps in TestCreate(), ...
7 years, 9 months ago (2013-03-25 19:50:49 UTC) #1
bsalomon
I have some cleanup I'd like to do around fDiscardIfOutsideEdge and hiding GrGLShaderBuilder::fHeader but am ...
7 years, 9 months ago (2013-03-25 19:54:14 UTC) #2
robertphillips
lgtm https://codereview.chromium.org/13069003/diff/1/src/gpu/effects/GrEdgeEffect.cpp File src/gpu/effects/GrEdgeEffect.cpp (right): https://codereview.chromium.org/13069003/diff/1/src/gpu/effects/GrEdgeEffect.cpp#newcode12 src/gpu/effects/GrEdgeEffect.cpp:12: I agree with Brian that this should really ...
7 years, 9 months ago (2013-03-25 20:05:40 UTC) #3
bsalomon
Replace edge types with GrEdgeEffect. This strips out last of the edge types and the ...
7 years, 9 months ago (2013-03-26 13:24:02 UTC) #4
bsalomon
Sorry for the several additional patch uploads after moving this to another machine. Only patchsets ...
7 years, 9 months ago (2013-03-26 13:41:50 UTC) #5
robertphillips
LGTM + nits https://codereview.chromium.org/13069003/diff/13002/src/gpu/effects/GrEdgeEffect.cpp File src/gpu/effects/GrEdgeEffect.cpp (right): https://codereview.chromium.org/13069003/diff/13002/src/gpu/effects/GrEdgeEffect.cpp#newcode107 src/gpu/effects/GrEdgeEffect.cpp:107: } else { convert the "someday" ...
7 years, 9 months ago (2013-03-26 14:09:20 UTC) #6
bsalomon
https://codereview.chromium.org/13069003/diff/13002/src/gpu/effects/GrEdgeEffect.cpp File src/gpu/effects/GrEdgeEffect.cpp (right): https://codereview.chromium.org/13069003/diff/13002/src/gpu/effects/GrEdgeEffect.cpp#newcode107 src/gpu/effects/GrEdgeEffect.cpp:107: } else { On 2013/03/26 14:09:20, robertphillips wrote: > ...
7 years, 9 months ago (2013-03-26 14:45:30 UTC) #7
bsalomon
7 years, 9 months ago (2013-03-26 14:45:41 UTC) #8
Message was sent while issue was closed.
Committed manually as r8392 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698