diff options
author | 2014-12-03 10:40:13 -0800 | |
---|---|---|
committer | 2014-12-03 10:40:13 -0800 | |
commit | 378092f3d10b1dd62967f419c35cfefec7c10ee7 (patch) | |
tree | 2053505fc4cccddb5a366ef26897128b2a65b0cd /src/gpu/gl | |
parent | 5ab7e80f2b477c55be9861ab1c56e33e19aa97a6 (diff) |
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
Diffstat (limited to 'src/gpu/gl')
-rw-r--r-- | src/gpu/gl/GrGLProcessor.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLProcessor.h b/src/gpu/gl/GrGLProcessor.h index 4bc3dd019b..ca4fa2459f 100644 --- a/src/gpu/gl/GrGLProcessor.h +++ b/src/gpu/gl/GrGLProcessor.h @@ -125,4 +125,16 @@ private: typedef GrGLProcessor INHERITED; }; +class GrGLXferProcessor : public GrGLFragmentProcessor { +public: + GrGLXferProcessor(const GrBackendProcessorFactory& factory) + : INHERITED(factory) { + } + + virtual ~GrGLXferProcessor() {} + +private: + typedef GrGLFragmentProcessor INHERITED; +}; + #endif |