Home
last modified time | relevance | path

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

/external/skqp/src/gpu/effects/
DGrConstColorProcessor.cpp23 const GrConstColorProcessor& _outer = args.fFp.cast<GrConstColorProcessor>(); in emitCode()
45 const GrConstColorProcessor& _outer = _proc.cast<GrConstColorProcessor>(); in onSetData()
57 GrGLSLFragmentProcessor* GrConstColorProcessor::onCreateGLSLInstance() const { in onCreateGLSLInstance()
60 void GrConstColorProcessor::onGetGLSLProcessorKey(const GrShaderCaps& caps, in onGetGLSLProcessorKey()
64 bool GrConstColorProcessor::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
65 const GrConstColorProcessor& that = other.cast<GrConstColorProcessor>(); in onIsEqual()
71 GrConstColorProcessor::GrConstColorProcessor(const GrConstColorProcessor& src) in GrConstColorProcessor() function in GrConstColorProcessor
75 std::unique_ptr<GrFragmentProcessor> GrConstColorProcessor::clone() const { in clone()
76 return std::unique_ptr<GrFragmentProcessor>(new GrConstColorProcessor(*this)); in clone()
78 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConstColorProcessor);
[all …]
DGrConstColorProcessor.h16 class GrConstColorProcessor : public GrFragmentProcessor {
48 return std::unique_ptr<GrFragmentProcessor>(new GrConstColorProcessor(color, mode)); in Make()
50 GrConstColorProcessor(const GrConstColorProcessor& src);
55 GrConstColorProcessor(SkPMColor4f color, InputMode mode) in GrConstColorProcessor() function
DGrConvexPolyEffect.cpp106 return GrConstColorProcessor::Make(SK_PMColor4fWHITE, in Make()
107 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
113 return GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in Make()
114 GrConstColorProcessor::InputMode::kModulateRGBA); in Make()
DGrXfermodeFragmentProcessor.cpp250 return GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in MakeFromTwoProcessors()
251 GrConstColorProcessor::InputMode::kIgnore); in MakeFromTwoProcessors()
511 return GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in MakeFromDstProcessor()
512 GrConstColorProcessor::InputMode::kIgnore); in MakeFromDstProcessor()
525 return GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in MakeFromSrcProcessor()
526 GrConstColorProcessor::InputMode::kIgnore); in MakeFromSrcProcessor()
DGrConstColorProcessor.fp86 return GrConstColorProcessor::Make(color, mode);
DGrSkSLFP.cpp430 result->addChild(GrConstColorProcessor::Make( in TestCreate()
432 GrConstColorProcessor::InputMode::kIgnore)); in TestCreate()
/external/skqp/gm/
Dconstcolorprocessor.cpp79 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kModeStrs) == GrConstColorProcessor::kInputModeCnt); in onDraw()
86 for (int m = 0; m < GrConstColorProcessor::kInputModeCnt; ++m) { in onDraw()
105 GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; in onDraw()
107 auto fp = GrConstColorProcessor::Make(color, mode); in onDraw()
/external/skqp/tests/
DDefaultPathRendererTest.cpp96 auto fp = GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kIgnore); in run_test()
116 auto fp = GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kIgnore); in run_test()
/external/skqp/src/shaders/
DSkColorShader.cpp110 return GrConstColorProcessor::Make(color, GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
119 return GrConstColorProcessor::Make(color.premul(), in asFragmentProcessor()
120 GrConstColorProcessor::InputMode::kModulateA); in asFragmentProcessor()
DSkComposeShader.cpp125 return GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in asFragmentProcessor()
126 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
DSkPerlinNoiseShader.cpp1452 GrConstColorProcessor::Make(SkPMColor4f::FromBytes_RGBA(0x80404040), in asFragmentProcessor()
1453 GrConstColorProcessor::InputMode::kModulateRGBA); in asFragmentProcessor()
1457 return GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in asFragmentProcessor()
1458 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
/external/skqp/src/gpu/
DSkGr.cpp427 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl()
429 GrConstColorProcessor::InputMode::kModulateRGBA)); in skpaint_to_grpaint_impl()
442 auto processor = GrConstColorProcessor::Make(opaqueColor, in skpaint_to_grpaint_impl()
443 GrConstColorProcessor::InputMode::kIgnore); in skpaint_to_grpaint_impl()
457 grPaint->addColorFragmentProcessor(GrConstColorProcessor::Make( in skpaint_to_grpaint_impl()
459 GrConstColorProcessor::InputMode::kModulateRGBA)); in skpaint_to_grpaint_impl()
DGrFragmentProcessor.cpp462 GrConstColorProcessor::Make(knownColor, GrConstColorProcessor::InputMode::kIgnore)); in RunInSeries()
/external/skqp/src/core/
DSkModeColorFilter.cpp98 auto constFP = GrConstColorProcessor::Make(SkColorToPMColor4f(fColor, dstColorSpaceInfo), in asFragmentProcessor()
99 GrConstColorProcessor::InputMode::kIgnore); in asFragmentProcessor()
/external/skqp/src/effects/imagefilters/
DSkXfermodeImageFilter.cpp291 bgFP = GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in filterImageGPU()
292 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()
DSkArithmeticImageFilter.cpp323 bgFP = GrConstColorProcessor::Make(SK_PMColor4fTRANSPARENT, in filterImageGPU()
324 GrConstColorProcessor::InputMode::kIgnore); in filterImageGPU()
/external/skqp/gn/
Dsksl.gni40 "$_src/gpu/effects/GrConstColorProcessor.fp",
Dgpu.gni315 "$_src/gpu/effects/GrConstColorProcessor.cpp",
316 "$_src/gpu/effects/GrConstColorProcessor.h",
/external/skqp/
DAndroid.bp942 "src/gpu/effects/GrConstColorProcessor.cpp",