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

Issue 751283002: Add XferProcessor factory in GrPaint and GrDrawState. (Closed)

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

Description

Add XferProcessor factory in GrPaint and GrDrawState. In this CL the XP should have zero effect on the actual rendering pipeline. BUG=skia: Committed: https://skia.googlesource.com/skia/+/378092f3d10b1dd62967f419c35cfefec7c10ee7

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Change default xp #

Patch Set 4 : Actually add DefaultXP file #

Patch Set 5 : Update gyp #

Total comments: 53

Patch Set 6 : Lots of review fixes #

Patch Set 7 : capitalization #

Total comments: 17

Patch Set 8 : Review changes #

Total comments: 8

Patch Set 9 : More updates #

Patch Set 10 : small comment change #

Total comments: 1

Patch Set 11 : Update comment #

Patch Set 12 : Fix comiple bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -38 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M include/core/SkXfermode.h View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -7 lines 0 comments Download
M include/gpu/GrBackendProcessorFactory.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M include/gpu/GrInvariantOutput.h View 1 chunk +2 lines, -0 lines 0 comments Download
M include/gpu/GrPaint.h View 1 2 3 4 5 6 chunks +19 lines, -11 lines 0 comments Download
A include/gpu/GrXferProcessor.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +62 lines, -0 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +29 lines, -5 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -3 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -3 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +9 lines, -2 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -0 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M src/gpu/GrPaint.cpp View 1 2 3 4 5 6 7 3 chunks +9 lines, -0 lines 0 comments Download
M src/gpu/GrProcOptInfo.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 3 chunks +15 lines, -0 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -7 lines 0 comments Download
A src/gpu/effects/GrPorterDuffXferProcessor.h View 1 2 3 4 5 6 7 1 chunk +78 lines, -0 lines 0 comments Download
A src/gpu/effects/GrPorterDuffXferProcessor.cpp View 1 2 3 4 5 6 7 1 chunk +76 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLProcessor.h View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
egdaniel
Part 1 of getting XP's in
6 years ago (2014-11-26 19:26:49 UTC) #2
joshualitt
some nits, looks good to me, but Brian should definitely take a look too. https://codereview.chromium.org/751283002/diff/80001/include/gpu/GrXferProcessor.h ...
6 years ago (2014-11-26 20:10:35 UTC) #4
bsalomon
https://codereview.chromium.org/751283002/diff/80001/include/core/SkXfermode.h File include/core/SkXfermode.h (right): https://codereview.chromium.org/751283002/diff/80001/include/core/SkXfermode.h#newcode205 include/core/SkXfermode.h:205: to call this with xpf NULL to simply test ...
6 years ago (2014-11-26 21:02:45 UTC) #5
egdaniel
Here is an updated version. The first version for whatever reason had a lot of ...
6 years ago (2014-12-01 18:18:25 UTC) #6
bsalomon
https://codereview.chromium.org/751283002/diff/80001/include/gpu/GrXferProcessor.h File include/gpu/GrXferProcessor.h (right): https://codereview.chromium.org/751283002/diff/80001/include/gpu/GrXferProcessor.h#newcode89 include/gpu/GrXferProcessor.h:89: #define GR_CREATE_STATIC_XP_FACTORY(NAME, XPF_CLASS, ARGS) \ On 2014/12/01 18:18:24, egdaniel ...
6 years ago (2014-12-01 19:24:40 UTC) #7
egdaniel
updates https://codereview.chromium.org/751283002/diff/120001/include/core/SkXfermode.h File include/core/SkXfermode.h (right): https://codereview.chromium.org/751283002/diff/120001/include/core/SkXfermode.h#newcode203 include/core/SkXfermode.h:203: // We will always use the XPProcessor if ...
6 years ago (2014-12-02 15:07:10 UTC) #9
bsalomon
https://codereview.chromium.org/751283002/diff/160001/include/gpu/GrXferProcessor.h File include/gpu/GrXferProcessor.h (right): https://codereview.chromium.org/751283002/diff/160001/include/gpu/GrXferProcessor.h#newcode20 include/gpu/GrXferProcessor.h:20: * coverage. The GrXferProcessor's shader code writes the fragment ...
6 years ago (2014-12-02 15:36:32 UTC) #10
egdaniel
another update https://codereview.chromium.org/751283002/diff/160001/include/gpu/GrXferProcessor.h File include/gpu/GrXferProcessor.h (right): https://codereview.chromium.org/751283002/diff/160001/include/gpu/GrXferProcessor.h#newcode20 include/gpu/GrXferProcessor.h:20: * coverage. The GrXferProcessor's shader code writes ...
6 years ago (2014-12-02 18:09:51 UTC) #11
bsalomon
lgtm https://codereview.chromium.org/751283002/diff/200001/include/gpu/GrXferProcessor.h File include/gpu/GrXferProcessor.h (right): https://codereview.chromium.org/751283002/diff/200001/include/gpu/GrXferProcessor.h#newcode43 include/gpu/GrXferProcessor.h:43: * creates will have. For example, will the ...
6 years ago (2014-12-02 21:34:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/751283002/220001
6 years ago (2014-12-03 18:20:52 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/1011) Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/973)
6 years ago (2014-12-03 18:22:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/751283002/240001
6 years ago (2014-12-03 18:36:04 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-03 18:40:20 UTC) #19
Message was sent while issue was closed.
Committed patchset #12 (id:240001) as
https://skia.googlesource.com/skia/+/378092f3d10b1dd62967f419c35cfefec7c10ee7

Powered by Google App Engine
This is Rietveld 408576698