Lines Matching defs:GrConstColorProcessor
8 #include "effects/GrConstColorProcessor.h"
26 GrConstColorProcessor::InputMode mode = args.fFp.cast<GrConstColorProcessor>().inputMode();
28 mode = GrConstColorProcessor::kIgnore_InputMode;
31 case GrConstColorProcessor::kIgnore_InputMode:
34 case GrConstColorProcessor::kModulateRGBA_InputMode:
38 case GrConstColorProcessor::kModulateA_InputMode:
47 GrColor color = processor.cast<GrConstColorProcessor>().color();
73 void GrConstColorProcessor::onComputeInvariantOutput(GrInvariantOutput* inout) const {
97 void GrConstColorProcessor::onGetGLSLProcessorKey(const GrGLSLCaps&,
102 GrGLSLFragmentProcessor* GrConstColorProcessor::onCreateGLSLInstance() const {
106 bool GrConstColorProcessor::onIsEqual(const GrFragmentProcessor& other) const {
107 const GrConstColorProcessor& that = other.cast<GrConstColorProcessor>();
113 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConstColorProcessor);
115 const GrFragmentProcessor* GrConstColorProcessor::TestCreate(GrProcessorTestData* d) {
136 return GrConstColorProcessor::Create(color, mode);