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

Issue 885923002: Move DstCopy on gpu into the GrXferProcessor. (Closed)

Created:
5 years, 10 months ago by egdaniel
Modified:
5 years, 10 months ago
Reviewers:
joshualitt, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Some clean up #

Total comments: 19

Patch Set 3 : #

Patch Set 4 : Review updates #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : updated #

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : Respect texture origin and invert if neccessary in XP #

Patch Set 10 : Rebase #

Patch Set 11 : Back to bool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -374 lines) Patch
M gyp/gpu.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M include/gpu/GrXferProcessor.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +56 lines, -19 lines 0 comments Download
M include/gpu/effects/GrPorterDuffXferProcessor.h View 1 2 3 9 10 4 chunks +15 lines, -10 lines 0 comments Download
M src/effects/SkArithmeticMode_gpu.h View 1 2 3 9 10 5 chunks +19 lines, -12 lines 0 comments Download
M src/effects/SkArithmeticMode_gpu.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -15 lines 0 comments Download
M src/gpu/GrBatchTarget.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/GrBatchTarget.cpp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 4 chunks +5 lines, -6 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 7 8 8 chunks +10 lines, -44 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 4 chunks +6 lines, -7 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 8 7 chunks +20 lines, -14 lines 0 comments Download
M src/gpu/GrPipeline.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M src/gpu/GrPipeline.cpp View 1 5 chunks +5 lines, -12 lines 0 comments Download
M src/gpu/GrPipelineBuilder.h View 1 chunk +2 lines, -3 lines 0 comments Download
M src/gpu/GrPipelineBuilder.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrProgramDesc.h View 1 2 chunks +0 lines, -17 lines 0 comments Download
M src/gpu/GrTest.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A src/gpu/GrXferProcessor.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +58 lines, -0 lines 0 comments Download
M src/gpu/effects/GrCoverageSetOpXP.h View 1 2 3 9 10 4 chunks +8 lines, -7 lines 0 comments Download
M src/gpu/effects/GrCoverageSetOpXP.cpp View 1 2 3 9 10 4 chunks +15 lines, -13 lines 0 comments Download
M src/gpu/effects/GrCustomXfermode.cpp View 1 2 3 9 10 2 chunks +14 lines, -14 lines 0 comments Download
M src/gpu/effects/GrCustomXfermodePriv.h View 1 2 3 9 10 6 chunks +15 lines, -12 lines 0 comments Download
M src/gpu/effects/GrDisableColorXP.h View 1 2 3 9 10 4 chunks +8 lines, -7 lines 0 comments Download
M src/gpu/effects/GrDisableColorXP.cpp View 1 2 3 9 10 4 chunks +10 lines, -8 lines 0 comments Download
M src/gpu/effects/GrPorterDuffXferProcessor.cpp View 1 2 3 9 10 5 chunks +29 lines, -18 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 2 chunks +4 lines, -31 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 chunks +1 line, -16 lines 0 comments Download
M src/gpu/gl/GrGLXferProcessor.h View 2 chunks +14 lines, -4 lines 0 comments Download
A src/gpu/gl/GrGLXferProcessor.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +69 lines, -0 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp View 1 2 3 1 chunk +2 lines, -49 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 1 chunk +0 lines, -6 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
egdaniel
First pass at moving the dst copy to GrXP. The actual dst copy still happens ...
5 years, 10 months ago (2015-01-29 20:51:22 UTC) #2
bsalomon
https://codereview.chromium.org/885923002/diff/20001/include/gpu/GrXferProcessor.h File include/gpu/GrXferProcessor.h (right): https://codereview.chromium.org/885923002/diff/20001/include/gpu/GrXferProcessor.h#newcode39 include/gpu/GrXferProcessor.h:39: * sepcific subclasses key. specific subclass's ? https://codereview.chromium.org/885923002/diff/20001/include/gpu/GrXferProcessor.h#newcode109 include/gpu/GrXferProcessor.h:109: ...
5 years, 10 months ago (2015-01-30 14:59:15 UTC) #3
joshualitt
https://codereview.chromium.org/885923002/diff/20001/src/gpu/GrDrawTarget.cpp File src/gpu/GrDrawTarget.cpp (right): https://codereview.chromium.org/885923002/diff/20001/src/gpu/GrDrawTarget.cpp#newcode661 src/gpu/GrDrawTarget.cpp:661: // support NV_blend_equation_advanced. Comment no longer applies https://codereview.chromium.org/885923002/diff/20001/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp File ...
5 years, 10 months ago (2015-02-02 15:42:26 UTC) #4
egdaniel
The main changes to note are I always make the copy texture to be top ...
5 years, 10 months ago (2015-02-03 16:47:44 UTC) #5
bsalomon
lgtm, some comments and questions. https://codereview.chromium.org/885923002/diff/80001/src/effects/SkArithmeticMode_gpu.h File src/effects/SkArithmeticMode_gpu.h (right): https://codereview.chromium.org/885923002/diff/80001/src/effects/SkArithmeticMode_gpu.h#newcode74 src/effects/SkArithmeticMode_gpu.h:74: class GrArithmeticXP : public ...
5 years, 10 months ago (2015-02-03 17:28:24 UTC) #6
bsalomon
lgtm, some comments and questions.
5 years, 10 months ago (2015-02-03 17:28:26 UTC) #7
egdaniel
https://codereview.chromium.org/885923002/diff/80001/src/effects/SkArithmeticMode_gpu.h File src/effects/SkArithmeticMode_gpu.h (right): https://codereview.chromium.org/885923002/diff/80001/src/effects/SkArithmeticMode_gpu.h#newcode74 src/effects/SkArithmeticMode_gpu.h:74: class GrArithmeticXP : public GrXferProcessor { On 2015/02/03 17:28:24, ...
5 years, 10 months ago (2015-02-03 19:50:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885923002/120001
5 years, 10 months ago (2015-02-03 21:42:01 UTC) #10
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrBatchTarget.cpp: While running git apply --index -3 -p1; error: patch ...
5 years, 10 months ago (2015-02-03 21:42:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885923002/140001
5 years, 10 months ago (2015-02-03 21:45:56 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://skia.googlesource.com/skia/+/74a11753604768bf461b80cabb66060e8564d82c
5 years, 10 months ago (2015-02-03 23:02:47 UTC) #15
egdaniel
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/900883002/ by egdaniel@google.com. ...
5 years, 10 months ago (2015-02-04 14:04:22 UTC) #16
egdaniel
changed back to checking the origin in the XP instead of forcing dstCopies to be ...
5 years, 10 months ago (2015-02-04 20:15:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885923002/200001
5 years, 10 months ago (2015-02-05 19:00:33 UTC) #19
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://skia.googlesource.com/skia/+/5e1378d0e075a323144ba14e0a4cbcca35eccc69
5 years, 10 months ago (2015-02-05 19:11:18 UTC) #20
bsalomon
5 years, 10 months ago (2015-02-05 22:16:40 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:200001) has been created in
https://codereview.chromium.org/901663007/ by bsalomon@google.com.

The reason for reverting is: Testing to see if reverting fixes 10.9 bots..

Powered by Google App Engine
This is Rietveld 408576698