Home
last modified time | relevance | path

Searched refs:blendInfo (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp44 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
119 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
122 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo()
123 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo()
126 blendInfo->fSrcBlend = kDC_GrBlendCoeff; in onGetBlendInfo()
127 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo()
130 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo()
131 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
134 blendInfo->fSrcBlend = kIDC_GrBlendCoeff; in onGetBlendInfo()
135 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
[all …]
DGrDisableColorXP.cpp41 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
86 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
87 blendInfo->fWriteColor = false; in onGetBlendInfo()
DGrPorterDuffXferProcessor.cpp366 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
367 blendInfo->fEquation = fBlendFormula.fBlendEquation; in onGetBlendInfo()
368 blendInfo->fSrcBlend = fBlendFormula.fSrcCoeff; in onGetBlendInfo()
369 blendInfo->fDstBlend = fBlendFormula.fDstCoeff; in onGetBlendInfo()
370 blendInfo->fWriteColor = fBlendFormula.modifiesDst(); in onGetBlendInfo()
604 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
605 blendInfo->fSrcBlend = kConstC_GrBlendCoeff; in onGetBlendInfo()
606 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
607 blendInfo->fBlendConstant = fBlendConstant; in onGetBlendInfo()
DGrCustomXfermode.cpp320 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo()
322 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
/external/skia/src/gpu/
DGrXferProcessor.cpp62 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo()
63 blendInfo->reset(); in getBlendInfo()
65 this->onGetBlendInfo(blendInfo); in getBlendInfo()
67 blendInfo->fDstBlend = kIS2A_GrBlendCoeff; in getBlendInfo()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp350 GrXferProcessor::BlendInfo blendInfo; in setup_color_blend_state() local
351 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in setup_color_blend_state()
353 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state()
354 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state()
355 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state()
380 GrColorToRGBAFloat(blendInfo.fBlendConstant, colorBlendInfo->blendConstants); in setup_color_blend_state()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1788 GrXferProcessor::BlendInfo blendInfo; in flushGLState() local
1790 args.fPipeline->getXferProcessor().getBlendInfo(&blendInfo); in flushGLState()
1792 this->flushColorWrite(blendInfo.fWriteColor); in flushGLState()
1807 if (blendInfo.fWriteColor) { in flushGLState()
1811 this->flushBlend(blendInfo, swizzle); in flushGLState()
2671 GrXferProcessor::BlendInfo blendInfo; in stampRectUsingProgram() local
2672 blendInfo.reset(); in stampRectUsingProgram()
2673 this->flushBlend(blendInfo, GrSwizzle()); in stampRectUsingProgram()
2880 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlend() argument
2884 GrBlendEquation equation = blendInfo.fEquation; in flushBlend()
[all …]
DGrGLGpu.h236 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
/external/skia/include/gpu/
DGrXferProcessor.h174 void getBlendInfo(BlendInfo* blendInfo) const;
/external/skia/tests/
DGrPorterDuffTest.cpp1142 GrXferProcessor::BlendInfo blendInfo; in test_lcd_coverage_fallback_case() local
1143 xp->getBlendInfo(&blendInfo); in test_lcd_coverage_fallback_case()
1144 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()