/third_party/skia/src/gpu/effects/ |
D | GrCoverageSetOpXP.cpp | 32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; 66 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo() 69 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo() 70 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo() 73 blendInfo->fSrcBlend = kDC_GrBlendCoeff; in onGetBlendInfo() 74 blendInfo->fDstBlend = kZero_GrBlendCoeff; in onGetBlendInfo() 77 blendInfo->fSrcBlend = kOne_GrBlendCoeff; in onGetBlendInfo() 78 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo() 81 blendInfo->fSrcBlend = kIDC_GrBlendCoeff; in onGetBlendInfo() 82 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo() [all …]
|
D | GrDisableColorXP.cpp | 29 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 30 blendInfo->fWriteColor = false; in onGetBlendInfo()
|
D | GrPorterDuffXferProcessor.cpp | 392 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 393 blendInfo->fEquation = fBlendFormula.equation(); in onGetBlendInfo() 394 blendInfo->fSrcBlend = fBlendFormula.srcCoeff(); in onGetBlendInfo() 395 blendInfo->fDstBlend = fBlendFormula.dstCoeff(); in onGetBlendInfo() 396 blendInfo->fWriteColor = fBlendFormula.modifiesDst(); in onGetBlendInfo() 552 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 553 blendInfo->fSrcBlend = kConstC_GrBlendCoeff; in onGetBlendInfo() 554 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo() 555 blendInfo->fBlendConstant = fBlendConstant; in onGetBlendInfo()
|
D | GrCustomXfermode.cpp | 176 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo() 178 blendInfo->fEquation = fHWBlendEquation; in onGetBlendInfo()
|
/third_party/skia/src/gpu/ |
D | GrPipeline.cpp | 82 const GrXferProcessor::BlendInfo& blendInfo = this->getXferProcessor().getBlendInfo(); in genKey() local 89 b->addBool(blendInfo.fWriteColor, "writeColor"); in genKey() 90 b->addBits(kBlendCoeffSize, blendInfo.fSrcBlend, "srcBlend"); in genKey() 91 b->addBits(kBlendCoeffSize, blendInfo.fDstBlend, "dstBlend"); in genKey() 92 b->addBits(kBlendEquationSize, blendInfo.fEquation, "equation"); in genKey()
|
D | GrXferProcessor.h | 104 BlendInfo blendInfo; in GR_MAKE_BITFIELD_CLASS_OPS() local 106 this->onGetBlendInfo(&blendInfo); in GR_MAKE_BITFIELD_CLASS_OPS() 108 return blendInfo; in GR_MAKE_BITFIELD_CLASS_OPS()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnCaps.cpp | 152 GrXferProcessor::BlendInfo blendInfo = pipeline.getXferProcessor().getBlendInfo(); in get_blend_info_key() local 159 uint32_t key = blendInfo.fWriteColor; in get_blend_info_key() 160 key |= (blendInfo.fSrcBlend << kBlendWriteShift); in get_blend_info_key() 161 key |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in get_blend_info_key() 162 key |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in get_blend_info_key()
|
D | GrDawnOpsRenderPass.cpp | 130 GrXferProcessor::BlendInfo blendInfo = pipeline.getXferProcessor().getBlendInfo(); in applyState() local 131 const float* c = blendInfo.fBlendConstant.vec(); in applyState()
|
D | GrDawnProgramBuilder.cpp | 177 GrXferProcessor::BlendInfo blendInfo = pipeline.getXferProcessor().getBlendInfo(); in create_blend_state() local 178 GrBlendEquation equation = blendInfo.fEquation; in create_blend_state() 179 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in create_blend_state() 180 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in create_blend_state()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 389 static void setup_color_blend_state(const GrXferProcessor::BlendInfo& blendInfo, in setup_color_blend_state() argument 392 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state() 393 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state() 394 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state() 408 if (!blendInfo.fWriteColor) { in setup_color_blend_state() 479 const GrXferProcessor::BlendInfo& blendInfo, in Make() argument 513 setup_color_blend_state(blendInfo, &colorBlendInfo, attachmentStates); in Make() 656 const GrXferProcessor::BlendInfo& blendInfo = xferProcessor.getBlendInfo(); in SetDynamicBlendConstantState() local 657 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in SetDynamicBlendConstantState() 658 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in SetDynamicBlendConstantState() [all …]
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DOpsRenderPass.cpp | 96 const GrXferProcessor::BlendInfo& blendInfo = xferProcessor.getBlendInfo(); in set_blend_factor() local 97 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in set_blend_factor() 98 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in set_blend_factor() 102 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in set_blend_factor()
|
D | GrD3DPipelineStateBuilder.cpp | 355 const GrXferProcessor::BlendInfo& blendInfo = pipeline.getXferProcessor().getBlendInfo(); in fill_in_blend_state() local 357 GrBlendEquation equation = blendInfo.fEquation; in fill_in_blend_state() 358 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in fill_in_blend_state() 359 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in fill_in_blend_state() 373 if (!blendInfo.fWriteColor) { in fill_in_blend_state()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 167 const GrXferProcessor::BlendInfo& blendInfo = xferProcessor.getBlendInfo(); 168 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 169 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; 172 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant);
|
D | GrMtlPipelineStateBuilder.mm | 351 const GrXferProcessor::BlendInfo& blendInfo = pipeline.getXferProcessor().getBlendInfo(); 353 GrBlendEquation equation = blendInfo.fEquation; 354 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 355 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; 379 if (blendInfo.fWriteColor) { 385 writer->writeBool(blendInfo.fWriteColor);
|
/third_party/skia/tests/ |
D | GrPorterDuffTest.cpp | 1041 GrXferProcessor::BlendInfo blendInfo = xp_opaque->getBlendInfo(); in test_lcd_coverage_fallback_case() local 1042 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case() 1056 blendInfo = xp->getBlendInfo(); in test_lcd_coverage_fallback_case() 1057 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2536 const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlendAndColorWrite() argument 2537 if (this->glCaps().neverDisableColorWrites() && !blendInfo.fWriteColor) { in flushBlendAndColorWrite() 2547 GrBlendEquation equation = blendInfo.fEquation; in flushBlendAndColorWrite() 2548 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlendAndColorWrite() 2549 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in flushBlendAndColorWrite() 2554 !blendInfo.fWriteColor; in flushBlendAndColorWrite() 2614 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in flushBlendAndColorWrite() 2623 this->flushColorWrite(blendInfo.fWriteColor); in flushBlendAndColorWrite()
|
D | GrGLGpu.h | 362 void flushBlendAndColorWrite(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
|