Home
last modified time | relevance | path

Searched refs:GrConstColorProcessor (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/effects/
DGrConstColorProcessor.cpp26 GrConstColorProcessor::InputMode mode = args.fFp.cast<GrConstColorProcessor>().inputMode(); in emitCode()
28 mode = GrConstColorProcessor::kIgnore_InputMode; in emitCode()
31 case GrConstColorProcessor::kIgnore_InputMode: in emitCode()
34 case GrConstColorProcessor::kModulateRGBA_InputMode: in emitCode()
38 case GrConstColorProcessor::kModulateA_InputMode: in emitCode()
47 GrColor color = processor.cast<GrConstColorProcessor>().color(); in onSetData()
73 void GrConstColorProcessor::onComputeInvariantOutput(GrInvariantOutput* inout) const { in onComputeInvariantOutput()
97 void GrConstColorProcessor::onGetGLSLProcessorKey(const GrGLSLCaps&, in onGetGLSLProcessorKey()
102 GrGLSLFragmentProcessor* GrConstColorProcessor::onCreateGLSLInstance() const { in onCreateGLSLInstance()
106 bool GrConstColorProcessor::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
[all …]
DGrXfermodeFragmentProcessor.cpp125 return GrConstColorProcessor::Create(GrColor_TRANSPARENT_BLACK, in CreateFromTwoProcessors()
126 GrConstColorProcessor::kIgnore_InputMode); in CreateFromTwoProcessors()
286 return GrConstColorProcessor::Create(GrColor_TRANSPARENT_BLACK, in CreateFromDstProcessor()
287 GrConstColorProcessor::kIgnore_InputMode); in CreateFromDstProcessor()
300 return GrConstColorProcessor::Create(GrColor_TRANSPARENT_BLACK, in CreateFromSrcProcessor()
301 GrConstColorProcessor::kIgnore_InputMode); in CreateFromSrcProcessor()
/external/skia/include/gpu/effects/
DGrConstColorProcessor.h18 class GrConstColorProcessor : public GrFragmentProcessor {
30 return new GrConstColorProcessor(color, mode); in Create()
46 GrConstColorProcessor(GrColor color, InputMode mode) : fColor(color), fMode(mode) { in GrConstColorProcessor() function
47 this->initClassID<GrConstColorProcessor>(); in GrConstColorProcessor()
/external/skia/gm/
Dconstcolorprocessor.cpp85 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kModeStrs) == GrConstColorProcessor::kInputModeCnt); in onDraw()
92 for (int m = 0; m < GrConstColorProcessor::kInputModeCnt; ++m) { in onDraw()
110 GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; in onDraw()
112 … SkAutoTUnref<GrFragmentProcessor> fp(GrConstColorProcessor::Create(color, mode)); in onDraw()
/external/skia/src/gpu/
DSkGr.cpp436 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Create( in skpaint_to_grpaint_impl()
437 paintAlpha, GrConstColorProcessor::kModulateRGBA_InputMode))->unref(); in skpaint_to_grpaint_impl()
449 GrConstColorProcessor::Create(SkColorToOpaqueGrColor(skPaint.getColor()), in skpaint_to_grpaint_impl()
450 GrConstColorProcessor::kIgnore_InputMode)); in skpaint_to_grpaint_impl()
467 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Create( in skpaint_to_grpaint_impl()
468 paintAlpha, GrConstColorProcessor::kModulateRGBA_InputMode))->unref(); in skpaint_to_grpaint_impl()
DGrFragmentProcessor.cpp351 return GrConstColorProcessor::Create(info.color(), in RunInSeries()
352 GrConstColorProcessor::kIgnore_InputMode); in RunInSeries()
357 colorFP.reset(GrConstColorProcessor::Create(info.inputColorToFirstEffectiveProccesor(), in RunInSeries()
358 GrConstColorProcessor::kIgnore_InputMode)); in RunInSeries()
/external/skia/src/core/
DSkModeColorFilter.cpp100 GrConstColorProcessor::Create(SkColorToPremulGrColor(fColor), in asFragmentProcessor()
101 GrConstColorProcessor::kIgnore_InputMode)); in asFragmentProcessor()
DSkComposeShader.cpp212 return GrConstColorProcessor::Create(GrColor_TRANSPARENT_BLACK, in asFragmentProcessor()
213 GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
DSkShader.cpp340 return GrConstColorProcessor::Create(color, GrConstColorProcessor::kModulateA_InputMode); in asFragmentProcessor()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp189 bgFP.reset(GrConstColorProcessor::Create(GrColor_TRANSPARENT_BLACK, in filterImageGPUDeprecated()
190 GrConstColorProcessor::kIgnore_InputMode)); in filterImageGPUDeprecated()
DSkPerlinNoiseShader.cpp909 GrConstColorProcessor::Create(0x80404040, in asFragmentProcessor()
910 GrConstColorProcessor::kModulateRGBA_InputMode)); in asFragmentProcessor()
914 return GrConstColorProcessor::Create(0x0, GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp1340 GrConstColorProcessor::Create(0x80404040, in asFragmentProcessor()
1341 GrConstColorProcessor::kModulateRGBA_InputMode)); in asFragmentProcessor()
1345 return GrConstColorProcessor::Create(0x0, GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
/external/skia/gyp/
Dgpu.gypi45 '<(skia_include_path)/gpu/effects/GrConstColorProcessor.h',
255 '<(skia_src_path)/gpu/effects/GrConstColorProcessor.cpp',
/external/skia/
DAndroid.mk463 src/gpu/effects/GrConstColorProcessor.cpp \