Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrConstColorProcessor.cpp25 GrConstColorProcessor::InputMode mode = args.fFp.cast<GrConstColorProcessor>().inputMode(); in emitCode()
27 mode = GrConstColorProcessor::kIgnore_InputMode; in emitCode()
30 case GrConstColorProcessor::kIgnore_InputMode: in emitCode()
33 case GrConstColorProcessor::kModulateRGBA_InputMode: in emitCode()
37 case GrConstColorProcessor::kModulateA_InputMode: in emitCode()
46 GrColor4f color = processor.cast<GrConstColorProcessor>().color(); in onSetData()
64 GrColor4f GrConstColorProcessor::constantOutputForConstantInput(GrColor4f input) const { in constantOutputForConstantInput()
77 void GrConstColorProcessor::onGetGLSLProcessorKey(const GrShaderCaps&, in onGetGLSLProcessorKey()
82 GrGLSLFragmentProcessor* GrConstColorProcessor::onCreateGLSLInstance() const { in onCreateGLSLInstance()
86 bool GrConstColorProcessor::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
[all …]
DGrXfermodeFragmentProcessor.cpp230 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in MakeFromTwoProcessors()
231 GrConstColorProcessor::kIgnore_InputMode); in MakeFromTwoProcessors()
478 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in MakeFromDstProcessor()
479 GrConstColorProcessor::kIgnore_InputMode); in MakeFromDstProcessor()
493 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in MakeFromSrcProcessor()
494 GrConstColorProcessor::kIgnore_InputMode); in MakeFromSrcProcessor()
DGrConvexPolyEffect.cpp254 return GrConstColorProcessor::Make(GrColor4f::OpaqueWhite(), in Make()
255 GrConstColorProcessor::kModulateRGBA_InputMode); in Make()
261 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in Make()
262 GrConstColorProcessor::kModulateRGBA_InputMode); in Make()
/external/skia/include/gpu/effects/
DGrConstColorProcessor.h18 class GrConstColorProcessor : public GrFragmentProcessor {
30 return sk_sp<GrFragmentProcessor>(new GrConstColorProcessor(color, mode)); in Make()
57 GrConstColorProcessor(GrColor4f color, InputMode mode) in GrConstColorProcessor() function
59 this->initClassID<GrConstColorProcessor>(); in GrConstColorProcessor()
/external/skia/gm/
Dconstcolorprocessor.cpp81 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kModeStrs) == GrConstColorProcessor::kInputModeCnt); in onDraw()
88 for (int m = 0; m < GrConstColorProcessor::kInputModeCnt; ++m) { in onDraw()
107 GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; in onDraw()
109 sk_sp<GrFragmentProcessor> fp(GrConstColorProcessor::Make(color, mode)); in onDraw()
/external/skia/src/gpu/
DSkGr.cpp505 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl()
507 GrConstColorProcessor::kModulateRGBA_InputMode)); in skpaint_to_grpaint_impl()
519 GrConstColorProcessor::Make(origColor.opaque(), in skpaint_to_grpaint_impl()
520 GrConstColorProcessor::kIgnore_InputMode)); in skpaint_to_grpaint_impl()
539 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl()
541 GrConstColorProcessor::kModulateRGBA_InputMode)); in skpaint_to_grpaint_impl()
DGrFragmentProcessor.cpp476 GrConstColorProcessor::Make(knownColor, GrConstColorProcessor::kIgnore_InputMode)); in RunInSeries()
/external/skia/src/core/
DSkColorShader.cpp97 return GrConstColorProcessor::Make(color, GrConstColorProcessor::kModulateA_InputMode); in asFragmentProcessor()
222 return GrConstColorProcessor::Make(color.premul(), GrConstColorProcessor::kModulateA_InputMode); in asFragmentProcessor()
DSkModeColorFilter.cpp120 GrConstColorProcessor::Make(SkColorToPremulGrColor4f(fColor, dstColorSpace), in asFragmentProcessor()
121 GrConstColorProcessor::kIgnore_InputMode)); in asFragmentProcessor()
DSkComposeShader.cpp190 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in asFragmentProcessor()
191 GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp263 bgFP = GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in filterImageGPU()
264 GrConstColorProcessor::kIgnore_InputMode); in filterImageGPU()
DSkPerlinNoiseShader.cpp903 GrConstColorProcessor::Make(GrColor4f::FromGrColor(0x80404040), in asFragmentProcessor()
904 GrConstColorProcessor::kModulateRGBA_InputMode)); in asFragmentProcessor()
908 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in asFragmentProcessor()
909 GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
DSkArithmeticImageFilter.cpp363 bgFP = GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in filterImageGPU()
364 GrConstColorProcessor::kIgnore_InputMode); in filterImageGPU()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp1339 GrConstColorProcessor::Make(GrColor4f::FromGrColor(0x80404040), in asFragmentProcessor()
1340 GrConstColorProcessor::kModulateRGBA_InputMode)); in asFragmentProcessor()
1344 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in asFragmentProcessor()
1345 GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
/external/skia/gn/
Dgpu.gni39 "$_include/gpu/effects/GrConstColorProcessor.h",
299 "$_src/gpu/effects/GrConstColorProcessor.cpp",
/external/skia/
DAndroid.bp454 "src/gpu/effects/GrConstColorProcessor.cpp",