Home
last modified time | relevance | path

Searched refs:shaderFP (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/gpu/
DSkGr.cpp387 std::unique_ptr<GrFragmentProcessor> shaderFP; in skpaint_to_grpaint_impl() local
390 shaderFP = std::move(*shaderProcessor); in skpaint_to_grpaint_impl()
392 shaderFP = shader->asFragmentProcessor(fpArgs); in skpaint_to_grpaint_impl()
393 if (!shaderFP) { in skpaint_to_grpaint_impl()
403 if (shaderFP) { in skpaint_to_grpaint_impl()
413 shaderFP = GrFragmentProcessor::OverrideInput(std::move(shaderFP), shaderInput); in skpaint_to_grpaint_impl()
414 shaderFP = GrXfermodeFragmentProcessor::MakeFromSrcProcessor(std::move(shaderFP), in skpaint_to_grpaint_impl()
418 if (shaderFP) { in skpaint_to_grpaint_impl()
419 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl()
435 grPaint->addColorFragmentProcessor(std::move(shaderFP)); in skpaint_to_grpaint_impl()
[all …]
DSkGr.h90 std::unique_ptr<GrFragmentProcessor> shaderFP,
/external/skia/src/gpu/
DSkGr.cpp482 std::unique_ptr<GrFragmentProcessor> shaderFP, in SkPaintToGrPaintReplaceShader() argument
484 if (!shaderFP) { in SkPaintToGrPaintReplaceShader()
487 return skpaint_to_grpaint_impl(context, dstColorInfo, skPaint, matrixProvider, &shaderFP, in SkPaintToGrPaintReplaceShader()
521 std::unique_ptr<GrFragmentProcessor> shaderFP, in SkPaintToGrPaintWithBlendReplaceShader() argument
524 if (!shaderFP) { in SkPaintToGrPaintWithBlendReplaceShader()
527 return skpaint_to_grpaint_impl(context, dstColorInfo, skPaint, matrixProvider, &shaderFP, in SkPaintToGrPaintWithBlendReplaceShader()
538 std::unique_ptr<GrFragmentProcessor> shaderFP; in SkPaintToGrPaintWithTexture() local
541 shaderFP = shader->asFragmentProcessor( in SkPaintToGrPaintWithTexture()
543 if (!shaderFP) { in SkPaintToGrPaintWithTexture()
546 shaderFP = GrFragmentProcessor::Compose(std::move(fp), std::move(shaderFP)); in SkPaintToGrPaintWithTexture()
[all …]
DSkGr.h106 std::unique_ptr<GrFragmentProcessor> shaderFP,
124 std::unique_ptr<GrFragmentProcessor> shaderFP,
DGrReducedClip.cpp926 std::unique_ptr<GrFragmentProcessor> shaderFP; in finishAndDetachAnalyticElements() local
931 shaderFP = as_SB(fShader)->asFragmentProcessor(args); in finishAndDetachAnalyticElements()
932 if (shaderFP != nullptr) { in finishAndDetachAnalyticElements()
933 shaderFP = GrFragmentProcessor::MulInputByChildAlpha(std::move(shaderFP)); in finishAndDetachAnalyticElements()
938 return GrFPSuccess(GrFragmentProcessor::Compose(std::move(shaderFP), std::move(clipFP))); in finishAndDetachAnalyticElements()
DSkGpuDevice.cpp911 std::unique_ptr<GrFragmentProcessor> shaderFP = as_SB(shader)->asFragmentProcessor(fpArgs); local
912 if (shaderFP == nullptr) {
920 this->asMatrixProvider(), std::move(shaderFP), mode, &grPaint)) {
926 this->asMatrixProvider(), std::move(shaderFP), &grPaint)) {
/external/skia/src/shaders/
DSkColorFilterShader.cpp96 auto shaderFP = as_SB(fShader)->asFragmentProcessor(args); in asFragmentProcessor() local
97 if (!shaderFP) { in asFragmentProcessor()
104 auto [success, fp] = fFilter->asFragmentProcessor(std::move(shaderFP), args.fContext, in asFragmentProcessor()