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

Issue 13296005: Revise attribute binding interface (Closed)

Created:
7 years, 8 months ago by jvanverth1
Modified:
7 years, 8 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Revise attribute binding interface. Replace the old attribute binding and index interface with one where we include the binding as part of the attribute array. Also removed the fixed attribute indices for constant color and coverage attributes, and replaced with dynamic ones based on current attribute set. Removed binding of color and coverage attributes unless they're actually set. Original author: bsalomon@google.com Committed: http://code.google.com/p/skia/source/detail?r=8466

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix possible index collision bug; remove dead code #

Patch Set 3 : Rebase to head revision #

Patch Set 4 : Fix fExperimentalGS in GrGLProgramDesc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -578 lines) Patch
M include/core/SkTArray.h View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M include/gpu/GrTypesPriv.h View 1 2 3 3 chunks +120 lines, -12 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 3 chunks +19 lines, -33 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 3 chunks +8 lines, -18 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 12 chunks +83 lines, -194 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 2 3 7 chunks +73 lines, -145 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 2 chunks +2 lines, -7 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 2 chunks +14 lines, -19 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 chunks +5 lines, -9 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 5 chunks +26 lines, -11 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 2 3 2 chunks +13 lines, -13 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 chunks +30 lines, -50 lines 0 comments Download
M src/gpu/gl/GrGLSL.cpp View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M src/gpu/gr_unittests.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 6 chunks +27 lines, -36 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jvanverth1
7 years, 8 months ago (2013-03-29 15:24:27 UTC) #1
bsalomon
https://codereview.chromium.org/13296005/diff/1/src/gpu/GrDrawState.cpp File src/gpu/GrDrawState.cpp (right): https://codereview.chromium.org/13296005/diff/1/src/gpu/GrDrawState.cpp#newcode123 src/gpu/GrDrawState.cpp:123: #if GR_DEBUG I think I added this in support ...
7 years, 8 months ago (2013-03-29 21:18:13 UTC) #2
jvanverth1
I also, as we discussed, changed setColor and setCoverage to always clear the stored constant ...
7 years, 8 months ago (2013-03-29 21:32:45 UTC) #3
bsalomon
lgtm
7 years, 8 months ago (2013-03-29 21:48:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/13296005/21002
7 years, 8 months ago (2013-04-01 19:12:20 UTC) #5
commit-bot: I haz the power
7 years, 8 months ago (2013-04-01 19:13:29 UTC) #6
Message was sent while issue was closed.
Change committed as 8466

Powered by Google App Engine
This is Rietveld 408576698