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

Issue 764643004: Create xfer processor backend. (Closed)

Created:
6 years ago by egdaniel
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@xferBlendSolo
Project:
skia
Visibility:
Public.

Description

Create xfer processor backend. This includes: -Having an actual XP stage at the end of the gl pipeline. -All Blending work is handled by XP until actually setting GL blend states -GLPrograms test to test XP BUG=skia: Committed: https://skia.googlesource.com/skia/+/4dffc940c430eec66d4707490eace19c9b3f7904 Committed: https://skia.googlesource.com/skia/+/c230414861558ce20b74281b1ca363e56c441832

Patch Set 1 #

Patch Set 2 : updated and rebased from prev cls #

Total comments: 21

Patch Set 3 : Review updates #

Patch Set 4 : Rebased #

Patch Set 5 : Add ignore gm #

Patch Set 6 : Update ignore #

Patch Set 7 : Merge with fix cls #

Patch Set 8 : Fix to dual source blending w/ hasSolidCoverage #

Patch Set 9 : Blend off ODS and only on XP #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -267 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M include/gpu/GrProcessorUnitTest.h View 1 2 3 3 chunks +26 lines, -6 lines 0 comments Download
M include/gpu/GrXferProcessor.h View 1 2 5 chunks +41 lines, -3 lines 0 comments Download
M include/gpu/effects/GrPorterDuffXferProcessor.h View 1 2 3 4 5 6 7 3 chunks +68 lines, -18 lines 0 comments Download
M src/gpu/GrGeometryProcessor.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -19 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 8 6 chunks +6 lines, -46 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/GrProgramDesc.h View 1 4 chunks +1 line, -40 lines 0 comments Download
M src/gpu/effects/GrPorterDuffXferProcessor.cpp View 1 2 3 4 5 6 7 7 chunks +119 lines, -14 lines 0 comments Download
M src/gpu/gl/GrGLProcessor.h View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 5 chunks +6 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 8 chunks +20 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 2 chunks +10 lines, -5 lines 0 comments Download
A src/gpu/gl/GrGLXferProcessor.h View 1 1 chunk +61 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -5 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 2 3 4 5 6 7 8 2 chunks +1 line, -4 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp View 1 2 1 chunk +0 lines, -49 lines 0 comments Download
M src/gpu/gl/builders/GrGLLegacyNvprProgramBuilder.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLNvprProgramBuilder.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 1 2 7 chunks +23 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 4 5 6 6 chunks +53 lines, -12 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 3 chunks +12 lines, -17 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
egdaniel
This is part 3 and final part (well until all the million follow up cls) ...
6 years ago (2014-11-26 20:42:54 UTC) #2
egdaniel
update to the backend/code emitting part of XPs. Still requires the blending cl (759713002) to ...
6 years ago (2014-12-08 15:33:05 UTC) #3
joshualitt
mostly nits https://codereview.chromium.org/764643004/diff/20001/include/gpu/GrProcessorUnitTest.h File include/gpu/GrProcessorUnitTest.h (right): https://codereview.chromium.org/764643004/diff/20001/include/gpu/GrProcessorUnitTest.h#newcode136 include/gpu/GrProcessorUnitTest.h:136: GrTexture* dummyTextures[2]) alignment https://codereview.chromium.org/764643004/diff/20001/src/gpu/effects/GrPorterDuffXferProcessor.cpp File src/gpu/effects/GrPorterDuffXferProcessor.cpp (right): ...
6 years ago (2014-12-08 19:46:41 UTC) #5
bsalomon
https://codereview.chromium.org/764643004/diff/20001/include/gpu/GrXferProcessor.h File include/gpu/GrXferProcessor.h (right): https://codereview.chromium.org/764643004/diff/20001/include/gpu/GrXferProcessor.h#newcode36 include/gpu/GrXferProcessor.h:36: /** Implemented using GLFragmentProcessor::GenKey as described in this class's ...
6 years ago (2014-12-08 19:58:59 UTC) #6
egdaniel
https://codereview.chromium.org/764643004/diff/20001/include/gpu/GrProcessorUnitTest.h File include/gpu/GrProcessorUnitTest.h (right): https://codereview.chromium.org/764643004/diff/20001/include/gpu/GrProcessorUnitTest.h#newcode136 include/gpu/GrProcessorUnitTest.h:136: GrTexture* dummyTextures[2]) On 2014/12/08 19:46:40, joshualitt wrote: > alignment ...
6 years ago (2014-12-09 21:10:46 UTC) #7
bsalomon
lgtm
6 years ago (2014-12-09 21:15:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/764643004/100001
6 years ago (2014-12-10 15:34:13 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/4dffc940c430eec66d4707490eace19c9b3f7904
6 years ago (2014-12-10 15:43:57 UTC) #11
joshualitt
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/789343002/ by joshualitt@google.com. ...
6 years ago (2014-12-10 22:57:54 UTC) #12
egdaniel
So here is the fix to the win8 problems. I've also merged my previous "fix" ...
6 years ago (2014-12-11 18:43:03 UTC) #13
bsalomon
lgtm
6 years ago (2014-12-11 18:52:37 UTC) #14
commit-bot: I haz the power
6 years ago (2014-12-11 21:06:34 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698