Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrPipeline.cpp43 if (args.fOpts.fColorPOI.firstEffectiveProcessorIndex() != 0) { in CreateAt()
44 overrideColor = args.fOpts.fColorPOI.inputColorToFirstEffectiveProccesor(); in CreateAt()
85 int firstColorProcessorIdx = args.fOpts.fColorPOI.firstEffectiveProcessorIndex(); in CreateAt()
92 pipeline->adjustProgramFromOptimizations(builder, optFlags, args.fOpts.fColorPOI, in CreateAt()
139 xpFactory->getInvariantBlendedColor(args.fOpts.fColorPOI, &blendedColor); in CreateAt()
141 GrPorterDuffXPFactory::SrcOverInvariantBlendedColor(args.fOpts.fColorPOI.color(), in CreateAt()
142 args.fOpts.fColorPOI.validFlags(), in CreateAt()
143 args.fOpts.fColorPOI.isOpaque(), in CreateAt()
DGrPipeline.h35 GrProcOptInfo fColorPOI; member
DGrDrawTarget.cpp520 args.fOpts.fColorPOI.completeCalculations(pipelineBuilder->fColorFragmentProcessors.begin(), in installPipelineInDrawBatch()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp494 if (optimizations.fColorPOI.allStagesMultiplyInput() && in onGetOptimizations()
748 kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in onCreateXferProcessor()
754 return PDLCDXferProcessor::Create(fXfermode, optimizations.fColorPOI); in onCreateXferProcessor()
758 blendFormula = get_blend_formula(optimizations.fColorPOI, optimizations.fCoveragePOI, in onCreateXferProcessor()
813 kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in onWillReadDstColor()
821 return get_blend_formula(optimizations.fColorPOI, optimizations.fCoveragePOI, hasMixedSamples, in onWillReadDstColor()
866 optimizations.fColorPOI.isOpaque())) { in CreateSrcOverXferProcessor()
876 if (kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in CreateSrcOverXferProcessor()
883 return PDLCDXferProcessor::Create(SkXfermode::kSrcOver_Mode, optimizations.fColorPOI); in CreateSrcOverXferProcessor()
887 blendFormula = get_blend_formula(optimizations.fColorPOI, optimizations.fCoveragePOI, in CreateSrcOverXferProcessor()
[all …]
DGrCustomXfermode.cpp304 if (optimizations.fColorPOI.allStagesMultiplyInput()) { in onGetOptimizations()
/external/skia/tests/
DGrPorterDuffTest.cpp76 xpf->getInvariantBlendedColor(optimizations.fColorPOI, &fBlendedColor); in XPInfo()
98 opt.fColorPOI.calcWithInitialValues(NULL, 0, 0, kNone_GrColorComponentFlags, false); in test_lcd_coverage()
102 SkASSERT(!opt.fColorPOI.isOpaque()); in test_lcd_coverage()
103 SkASSERT(!opt.fColorPOI.isSolidWhite()); in test_lcd_coverage()
289 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, 0, kNone_GrColorComponentFlags, in test_color_unknown_with_coverage()
294 SkASSERT(!optimizations.fColorPOI.isOpaque()); in test_color_unknown_with_coverage()
295 SkASSERT(!optimizations.fColorPOI.isSolidWhite()); in test_color_unknown_with_coverage()
483 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, GrColorPackRGBA(229, 0, 154, 0), in test_color_unknown_no_coverage()
488 SkASSERT(!optimizations.fColorPOI.isOpaque()); in test_color_unknown_no_coverage()
489 SkASSERT(!optimizations.fColorPOI.isSolidWhite()); in test_color_unknown_no_coverage()
[all …]
/external/skia/src/gpu/batches/
DGrDrawBatch.cpp22 opt->fColorPOI.initUsingInvariantOutput(color); in getPipelineOptimizations()