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

Issue 504203004: Attach GrOptDrawState into shader building pipeline (Closed)

Created:
6 years, 3 months ago by egdaniel
Modified:
6 years, 3 months ago
Reviewers:
joshualitt, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@opt2
Project:
skia
Visibility:
Public.

Description

Attach GrOptDrawState into shader building pipeline The OptDrawState is now used for creating the actual gl shader. Current optimizations dones in GrOptDrawState include: All blend optimizations Constant color/coverage stage optimizations BUG=skia: Committed: https://skia.googlesource.com/skia/+/ee6206572b42fec11f83ad0c1e6d435903640518 Committed: https://skia.googlesource.com/skia/+/170f90b4576f291879371ecd6ae4bc2b1d85c64a

Patch Set 1 #

Patch Set 2 : Remove added line in gm #

Patch Set 3 : Rebased from recent changes #

Patch Set 4 : Rebased with working refs #

Patch Set 5 : Updates #

Patch Set 6 : Remove BlendOpt Cache #

Total comments: 9

Patch Set 7 : Review changes #

Patch Set 8 : Remove unneeded calcBlendOpt function #

Patch Set 9 : Rebase on "remove VA indices" and remove need for VA mapping #

Patch Set 10 : Use optState in GrGLVertexShaderBuilder #

Patch Set 11 : Cleanup #

Patch Set 12 : Fix SkipDraw Check #

Patch Set 13 : Remove leftover debug code #

Patch Set 14 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -323 lines) Patch
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -13 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 2 3 4 5 12 4 chunks +24 lines, -6 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +20 lines, -10 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +42 lines, -4 lines 0 comments Download
M src/gpu/GrRODrawState.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +46 lines, -67 lines 0 comments Download
M src/gpu/GrRODrawState.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +1 line, -30 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +17 lines, -29 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +81 lines, -124 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 2 3 4 5 6 8 chunks +22 lines, -24 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
egdaniel
egdaniel@google.com changed reviewers: + bsalomon@google.com
6 years, 3 months ago (2014-08-26 18:01:43 UTC) #1
egdaniel
6 years, 3 months ago (2014-08-26 18:01:43 UTC) #2
egdaniel
rebased up to recent gpu changes
6 years, 3 months ago (2014-09-08 19:13:24 UTC) #3
egdaniel
ping. I've added removing the blendOpt cache here since with this CL getBlendOpt is only ...
6 years, 3 months ago (2014-09-15 13:53:41 UTC) #4
bsalomon
https://codereview.chromium.org/504203004/diff/100001/src/gpu/GrOptDrawState.h File src/gpu/GrOptDrawState.h (right): https://codereview.chromium.org/504203004/diff/100001/src/gpu/GrOptDrawState.h#newcode86 src/gpu/GrOptDrawState.h:86: friend GrOptDrawState* GrDrawState::createOptState() const; Is it possible that GrOptState's ...
6 years, 3 months ago (2014-09-15 14:04:35 UTC) #5
egdaniel
https://codereview.chromium.org/504203004/diff/100001/src/gpu/GrOptDrawState.h File src/gpu/GrOptDrawState.h (right): https://codereview.chromium.org/504203004/diff/100001/src/gpu/GrOptDrawState.h#newcode86 src/gpu/GrOptDrawState.h:86: friend GrOptDrawState* GrDrawState::createOptState() const; On 2014/09/15 14:04:34, bsalomon wrote: ...
6 years, 3 months ago (2014-09-15 17:51:35 UTC) #6
bsalomon
lgtm
6 years, 3 months ago (2014-09-15 18:44:29 UTC) #7
egdaniel
Adding Joshua to quickly confirm my removal of the need to map vertex attrib indices
6 years, 3 months ago (2014-09-15 19:22:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/504203004/220001
6 years, 3 months ago (2014-09-16 13:25:17 UTC) #12
commit-bot: I haz the power
Committed patchset #11 (id:220001) as ee6206572b42fec11f83ad0c1e6d435903640518
6 years, 3 months ago (2014-09-16 13:34:47 UTC) #13
egdaniel
A revert of this CL (patchset #11 id:220001) has been created in https://codereview.chromium.org/560443004/ by egdaniel@google.com. ...
6 years, 3 months ago (2014-09-16 13:57:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/504203004/280001
6 years, 3 months ago (2014-09-16 19:46:22 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 19:54:45 UTC) #17
Message was sent while issue was closed.
Committed patchset #14 (id:280001) as 170f90b4576f291879371ecd6ae4bc2b1d85c64a

Powered by Google App Engine
This is Rietveld 408576698