Home
last modified time | relevance | path

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

/external/skqp/src/gpu/effects/
DGrCoverageSetOpXP.cpp36 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
93 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
96 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo()
97 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo()
100 blendInfo->fSrcBlend = kDC_GrBlendCoeff; in onGetBlendInfo()
101 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo()
104 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo()
105 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
108 blendInfo->fSrcBlend = kIDC_GrBlendCoeff; in onGetBlendInfo()
109 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
[all …]
DGrDisableColorXP.cpp32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
73 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
74 blendInfo->fWriteColor = false; in onGetBlendInfo()
DGrPorterDuffXferProcessor.cpp415 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
416 blendInfo->fEquation = fBlendFormula.equation(); in onGetBlendInfo()
417 blendInfo->fSrcBlend = fBlendFormula.srcCoeff(); in onGetBlendInfo()
418 blendInfo->fDstBlend = fBlendFormula.dstCoeff(); in onGetBlendInfo()
419 blendInfo->fWriteColor = fBlendFormula.modifiesDst(); in onGetBlendInfo()
597 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
598 blendInfo->fSrcBlend = kConstC_GrBlendCoeff; in onGetBlendInfo()
599 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
600 blendInfo->fBlendConstant = fBlendConstant; in onGetBlendInfo()
DGrCustomXfermode.cpp194 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo()
196 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp36 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
93 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
96 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo()
97 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo()
100 blendInfo->fSrcBlend = kDC_GrBlendCoeff; in onGetBlendInfo()
101 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo()
104 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo()
105 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
108 blendInfo->fSrcBlend = kIDC_GrBlendCoeff; in onGetBlendInfo()
109 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
[all …]
DGrDisableColorXP.cpp32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
73 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
74 blendInfo->fWriteColor = false; in onGetBlendInfo()
DGrPorterDuffXferProcessor.cpp415 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
416 blendInfo->fEquation = fBlendFormula.equation(); in onGetBlendInfo()
417 blendInfo->fSrcBlend = fBlendFormula.srcCoeff(); in onGetBlendInfo()
418 blendInfo->fDstBlend = fBlendFormula.dstCoeff(); in onGetBlendInfo()
419 blendInfo->fWriteColor = fBlendFormula.modifiesDst(); in onGetBlendInfo()
597 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
598 blendInfo->fSrcBlend = kConstC_GrBlendCoeff; in onGetBlendInfo()
599 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo()
600 blendInfo->fBlendConstant = fBlendConstant; in onGetBlendInfo()
DGrCustomXfermode.cpp194 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo()
196 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp355 GrXferProcessor::BlendInfo blendInfo; in setup_color_blend_state() local
356 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in setup_color_blend_state()
358 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state()
359 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state()
360 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state()
375 if (!blendInfo.fWriteColor) { in setup_color_blend_state()
547 GrXferProcessor::BlendInfo blendInfo; in SetDynamicBlendConstantState() local
548 xferProcessor.getBlendInfo(&blendInfo); in SetDynamicBlendConstantState()
549 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in SetDynamicBlendConstantState()
550 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in SetDynamicBlendConstantState()
[all …]
DGrVkPipelineState.cpp554 GrXferProcessor::BlendInfo blendInfo; in get_blend_info_key() local
555 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in get_blend_info_key()
562 uint32_t key = blendInfo.fWriteColor; in get_blend_info_key()
563 key |= (blendInfo.fSrcBlend << kBlendWriteShift); in get_blend_info_key()
564 key |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in get_blend_info_key()
565 key |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in get_blend_info_key()
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp355 GrXferProcessor::BlendInfo blendInfo; in setup_color_blend_state() local
356 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in setup_color_blend_state()
358 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state()
359 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state()
360 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state()
375 if (!blendInfo.fWriteColor) { in setup_color_blend_state()
547 GrXferProcessor::BlendInfo blendInfo; in SetDynamicBlendConstantState() local
548 xferProcessor.getBlendInfo(&blendInfo); in SetDynamicBlendConstantState()
549 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in SetDynamicBlendConstantState()
550 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in SetDynamicBlendConstantState()
[all …]
DGrVkPipelineState.cpp554 GrXferProcessor::BlendInfo blendInfo; in get_blend_info_key() local
555 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in get_blend_info_key()
562 uint32_t key = blendInfo.fWriteColor; in get_blend_info_key()
563 key |= (blendInfo.fSrcBlend << kBlendWriteShift); in get_blend_info_key()
564 key |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in get_blend_info_key()
565 key |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in get_blend_info_key()
/external/skia/src/gpu/
DGrXferProcessor.cpp32 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo()
33 blendInfo->reset(); in getBlendInfo()
35 this->onGetBlendInfo(blendInfo); in getBlendInfo()
37 blendInfo->fDstBlend = kIS2A_GrBlendCoeff; in getBlendInfo()
DGrXferProcessor.h148 void getBlendInfo(BlendInfo* blendInfo) const;
/external/skqp/src/gpu/
DGrXferProcessor.cpp32 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo()
33 blendInfo->reset(); in getBlendInfo()
35 this->onGetBlendInfo(blendInfo); in getBlendInfo()
37 blendInfo->fDstBlend = kIS2A_GrBlendCoeff; in getBlendInfo()
DGrXferProcessor.h148 void getBlendInfo(BlendInfo* blendInfo) const;
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp1824 GrXferProcessor::BlendInfo blendInfo; in flushGLState() local
1825 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in flushGLState()
1827 this->flushColorWrite(blendInfo.fWriteColor); in flushGLState()
1836 if (blendInfo.fWriteColor) { in flushGLState()
1840 this->flushBlend(blendInfo, swizzle); in flushGLState()
2894 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlend() argument
2898 GrBlendEquation equation = blendInfo.fEquation; in flushBlend()
2899 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlend()
2900 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in flushBlend()
2948 GrColor blendConst = blendInfo.fBlendConstant; in flushBlend()
[all …]
DGrGLGpu.h293 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1820 GrXferProcessor::BlendInfo blendInfo; in flushGLState() local
1821 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in flushGLState()
1823 this->flushColorWrite(blendInfo.fWriteColor); in flushGLState()
1832 if (blendInfo.fWriteColor) { in flushGLState()
1836 this->flushBlend(blendInfo, swizzle); in flushGLState()
2874 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlend() argument
2878 GrBlendEquation equation = blendInfo.fEquation; in flushBlend()
2879 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlend()
2880 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in flushBlend()
2928 GrColor blendConst = blendInfo.fBlendConstant; in flushBlend()
[all …]
DGrGLGpu.h275 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
/external/skqp/tests/
DGrPorterDuffTest.cpp1032 GrXferProcessor::BlendInfo blendInfo; in test_lcd_coverage_fallback_case() local
1033 xp_opaque->getBlendInfo(&blendInfo); in test_lcd_coverage_fallback_case()
1034 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
1050 xp->getBlendInfo(&blendInfo); in test_lcd_coverage_fallback_case()
1051 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
/external/skia/tests/
DGrPorterDuffTest.cpp1032 GrXferProcessor::BlendInfo blendInfo; in test_lcd_coverage_fallback_case() local
1033 xp_opaque->getBlendInfo(&blendInfo); in test_lcd_coverage_fallback_case()
1034 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
1050 xp->getBlendInfo(&blendInfo); in test_lcd_coverage_fallback_case()
1051 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()