Searched refs:GrConstColorProcessor (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/gpu/effects/ |
D | GrConstColorProcessor.cpp | 25 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 …]
|
D | GrXfermodeFragmentProcessor.cpp | 230 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()
|
D | GrConvexPolyEffect.cpp | 254 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/ |
D | GrConstColorProcessor.h | 18 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/ |
D | constcolorprocessor.cpp | 81 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/ |
D | SkGr.cpp | 505 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()
|
D | GrFragmentProcessor.cpp | 476 GrConstColorProcessor::Make(knownColor, GrConstColorProcessor::kIgnore_InputMode)); in RunInSeries()
|
/external/skia/src/core/ |
D | SkColorShader.cpp | 97 return GrConstColorProcessor::Make(color, GrConstColorProcessor::kModulateA_InputMode); in asFragmentProcessor() 222 return GrConstColorProcessor::Make(color.premul(), GrConstColorProcessor::kModulateA_InputMode); in asFragmentProcessor()
|
D | SkModeColorFilter.cpp | 120 GrConstColorProcessor::Make(SkColorToPremulGrColor4f(fColor, dstColorSpace), in asFragmentProcessor() 121 GrConstColorProcessor::kIgnore_InputMode)); in asFragmentProcessor()
|
D | SkComposeShader.cpp | 190 return GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in asFragmentProcessor() 191 GrConstColorProcessor::kIgnore_InputMode); in asFragmentProcessor()
|
/external/skia/src/effects/ |
D | SkXfermodeImageFilter.cpp | 263 bgFP = GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in filterImageGPU() 264 GrConstColorProcessor::kIgnore_InputMode); in filterImageGPU()
|
D | SkPerlinNoiseShader.cpp | 903 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()
|
D | SkArithmeticImageFilter.cpp | 363 bgFP = GrConstColorProcessor::Make(GrColor4f::TransparentBlack(), in filterImageGPU() 364 GrConstColorProcessor::kIgnore_InputMode); in filterImageGPU()
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.cpp | 1339 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/ |
D | gpu.gni | 39 "$_include/gpu/effects/GrConstColorProcessor.h", 299 "$_src/gpu/effects/GrConstColorProcessor.cpp",
|
/external/skia/ |
D | Android.bp | 454 "src/gpu/effects/GrConstColorProcessor.cpp",
|