/external/skqp/src/gpu/effects/ |
D | GrCoverageSetOpXP.cpp | 36 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 …]
|
D | GrDisableColorXP.cpp | 32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; 73 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo() 74 blendInfo->fWriteColor = false; in onGetBlendInfo()
|
D | GrPorterDuffXferProcessor.cpp | 415 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()
|
D | GrCustomXfermode.cpp | 194 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo() 196 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
|
/external/skia/src/gpu/effects/ |
D | GrCoverageSetOpXP.cpp | 36 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 …]
|
D | GrDisableColorXP.cpp | 32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; 73 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo() 74 blendInfo->fWriteColor = false; in onGetBlendInfo()
|
D | GrPorterDuffXferProcessor.cpp | 415 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()
|
D | GrCustomXfermode.cpp | 194 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo() 196 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 355 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 …]
|
D | GrVkPipelineState.cpp | 554 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/ |
D | GrVkPipeline.cpp | 355 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 …]
|
D | GrVkPipelineState.cpp | 554 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/ |
D | GrXferProcessor.cpp | 32 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()
|
D | GrXferProcessor.h | 148 void getBlendInfo(BlendInfo* blendInfo) const;
|
/external/skqp/src/gpu/ |
D | GrXferProcessor.cpp | 32 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()
|
D | GrXferProcessor.h | 148 void getBlendInfo(BlendInfo* blendInfo) const;
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 1824 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 …]
|
D | GrGLGpu.h | 293 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1820 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 …]
|
D | GrGLGpu.h | 275 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
|
/external/skqp/tests/ |
D | GrPorterDuffTest.cpp | 1032 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/ |
D | GrPorterDuffTest.cpp | 1032 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()
|