Add XferProcessor factory in GrPaint and GrDrawState.
authoregdaniel <egdaniel@google.com>
Wed, 3 Dec 2014 18:40:13 +0000 (10:40 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Dec 2014 18:40:13 +0000 (10:40 -0800)
commit378092f3d10b1dd62967f419c35cfefec7c10ee7
tree2053505fc4cccddb5a366ef26897128b2a65b0cd
parent5ab7e80f2b477c55be9861ab1c56e33e19aa97a6
Add XferProcessor factory in GrPaint and GrDrawState.

In this CL the XP should have zero effect on the actual rendering pipeline.

BUG=skia:

Review URL: https://codereview.chromium.org/751283002
20 files changed:
gyp/gpu.gypi
include/core/SkXfermode.h
include/gpu/GrBackendProcessorFactory.h
include/gpu/GrInvariantOutput.h
include/gpu/GrPaint.h
include/gpu/GrXferProcessor.h [new file with mode: 0644]
src/core/SkXfermode.cpp
src/gpu/GrBitmapTextContext.cpp
src/gpu/GrDistanceFieldTextContext.cpp
src/gpu/GrDrawState.cpp
src/gpu/GrDrawState.h
src/gpu/GrOptDrawState.cpp
src/gpu/GrOptDrawState.h
src/gpu/GrPaint.cpp
src/gpu/GrProcOptInfo.h
src/gpu/GrProcessor.cpp
src/gpu/SkGr.cpp
src/gpu/effects/GrPorterDuffXferProcessor.cpp [new file with mode: 0644]
src/gpu/effects/GrPorterDuffXferProcessor.h [new file with mode: 0644]
src/gpu/gl/GrGLProcessor.h