| Index: include/gpu/GrBackendProcessorFactory.h
|
| diff --git a/include/gpu/GrBackendProcessorFactory.h b/include/gpu/GrBackendProcessorFactory.h
|
| index 9dda1659d07677a89af975eb04e032b90a48f125..acbc12c192610eca193d476abf69a8d5069152b4 100644
|
| --- a/include/gpu/GrBackendProcessorFactory.h
|
| +++ b/include/gpu/GrBackendProcessorFactory.h
|
| @@ -115,8 +115,10 @@ private:
|
|
|
| class GrFragmentProcessor;
|
| class GrGeometryProcessor;
|
| +class GrXferProcessor;
|
| class GrGLFragmentProcessor;
|
| class GrGLGeometryProcessor;
|
| +class GrGLXferProcessor;
|
|
|
| /**
|
| * Backend processor factory cannot actually create anything, it is up to subclasses to implement
|
| @@ -132,6 +134,15 @@ public:
|
| virtual GrGLFragmentProcessor* createGLInstance(const GrFragmentProcessor&) const = 0;
|
| };
|
|
|
| +class GrBackendXferProcessorFactory : public GrBackendProcessorFactory {
|
| +public:
|
| + /**
|
| + * Creates a GrGLProcessor instance that is used both to generate code for the GrProcessor in a
|
| + * GLSL program and to manage updating uniforms for the program when it is used.
|
| + */
|
| + virtual GrGLXferProcessor* createGLInstance(const GrXferProcessor&) const = 0;
|
| +};
|
| +
|
| class GrBackendGeometryProcessorFactory : public GrBackendProcessorFactory {
|
| public:
|
| /**
|
|
|