/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 | 30 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 31 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() 572 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 573 blendInfo->fSrcBlend = kConstC_GrBlendCoeff; in onGetBlendInfo() 574 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo() 575 blendInfo->fBlendConstant = fBlendConstant; in onGetBlendInfo()
|
D | GrCustomXfermode.cpp | 195 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo() 197 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
|
/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 | 416 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 417 blendInfo->fEquation = fBlendFormula.equation(); in onGetBlendInfo() 418 blendInfo->fSrcBlend = fBlendFormula.srcCoeff(); in onGetBlendInfo() 419 blendInfo->fDstBlend = fBlendFormula.dstCoeff(); in onGetBlendInfo() 420 blendInfo->fWriteColor = fBlendFormula.modifiesDst(); in onGetBlendInfo() 598 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 599 blendInfo->fSrcBlend = kConstC_GrBlendCoeff; in onGetBlendInfo() 600 blendInfo->fDstBlend = kISC_GrBlendCoeff; in onGetBlendInfo() 601 blendInfo->fBlendConstant = fBlendConstant; in onGetBlendInfo()
|
D | GrCustomXfermode.cpp | 197 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo() 199 blendInfo->fEquation = this->hwBlendEquation(); in onGetBlendInfo()
|
/external/skia/src/gpu/ |
D | GrPipeline.cpp | 95 const GrXferProcessor::BlendInfo& blendInfo = this->getXferProcessor().getBlendInfo(); in genKey() local 108 uint32_t blendKey = blendInfo.fWriteColor; in genKey() 109 blendKey |= (blendInfo.fSrcBlend << kBlendWriteShift); in genKey() 110 blendKey |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in genKey() 111 blendKey |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in genKey()
|
D | GrXferProcessor.h | 147 BlendInfo blendInfo; in GR_MAKE_BITFIELD_CLASS_OPS() local 149 this->onGetBlendInfo(&blendInfo); in GR_MAKE_BITFIELD_CLASS_OPS() 151 return blendInfo; in GR_MAKE_BITFIELD_CLASS_OPS()
|
/external/skqp/src/gpu/ |
D | GrXferProcessor.cpp | 33 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo() 34 blendInfo->reset(); in getBlendInfo() 36 this->onGetBlendInfo(blendInfo); in getBlendInfo() 38 blendInfo->fDstBlend = kIS2A_GrBlendCoeff; in getBlendInfo()
|
D | GrXferProcessor.h | 147 void getBlendInfo(BlendInfo* blendInfo) const;
|
/external/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 | 176 GrXferProcessor::BlendInfo blendInfo = pipeline.getXferProcessor().getBlendInfo(); in create_blend_state() local 177 GrBlendEquation equation = blendInfo.fEquation; in create_blend_state() 178 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in create_blend_state() 179 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in create_blend_state()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipeline.cpp | 429 GrXferProcessor::BlendInfo blendInfo; in setup_color_blend_state() local 430 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in setup_color_blend_state() 432 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state() 433 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state() 434 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state() 449 if (!blendInfo.fWriteColor) { in setup_color_blend_state() 620 GrXferProcessor::BlendInfo blendInfo; in SetDynamicBlendConstantState() local 621 xferProcessor.getBlendInfo(&blendInfo); in SetDynamicBlendConstantState() 622 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in SetDynamicBlendConstantState() 623 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in SetDynamicBlendConstantState() [all …]
|
D | GrVkPipelineStateBuilder.cpp | 377 GrXferProcessor::BlendInfo blendInfo; in get_blend_info_key() local 378 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in get_blend_info_key() 385 uint32_t key = blendInfo.fWriteColor; in get_blend_info_key() 386 key |= (blendInfo.fSrcBlend << kBlendWriteShift); in get_blend_info_key() 387 key |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in get_blend_info_key() 388 key |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in get_blend_info_key()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 412 static void setup_color_blend_state(const GrXferProcessor::BlendInfo& blendInfo, in setup_color_blend_state() argument 415 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state() 416 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state() 417 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state() 431 if (!blendInfo.fWriteColor) { in setup_color_blend_state() 502 const GrXferProcessor::BlendInfo& blendInfo, in Make() argument 545 setup_color_blend_state(blendInfo, &colorBlendInfo, attachmentStates); in Make() 688 const GrXferProcessor::BlendInfo& blendInfo = xferProcessor.getBlendInfo(); in SetDynamicBlendConstantState() local 689 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in SetDynamicBlendConstantState() 690 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in SetDynamicBlendConstantState() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 182 GrXferProcessor::BlendInfo blendInfo; 183 xferProcessor.getBlendInfo(&blendInfo); 184 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 185 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; 189 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant);
|
D | GrMtlPipelineStateBuilder.mm | 280 GrXferProcessor::BlendInfo blendInfo; 281 pipeline.getXferProcessor().getBlendInfo(&blendInfo); 283 GrBlendEquation equation = blendInfo.fEquation; 284 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 285 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; 299 if (!blendInfo.fWriteColor) {
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 162 const GrXferProcessor::BlendInfo& blendInfo = xferProcessor.getBlendInfo(); 163 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 164 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; 167 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);
|
/external/skia/src/gpu/d3d/ |
D | GrD3DOpsRenderPass.cpp | 95 const GrXferProcessor::BlendInfo& blendInfo = xferProcessor.getBlendInfo(); in set_blend_factor() local 96 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in set_blend_factor() 97 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in set_blend_factor() 101 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in set_blend_factor()
|
D | GrD3DPipelineStateBuilder.cpp | 360 const GrXferProcessor::BlendInfo& blendInfo = pipeline.getXferProcessor().getBlendInfo(); in fill_in_blend_state() local 362 GrBlendEquation equation = blendInfo.fEquation; in fill_in_blend_state() 363 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in fill_in_blend_state() 364 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in fill_in_blend_state() 378 if (!blendInfo.fWriteColor) { in fill_in_blend_state()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 1996 GrXferProcessor::BlendInfo blendInfo; in flushGLState() local 1997 pipeline.getXferProcessor().getBlendInfo(&blendInfo); in flushGLState() 1999 this->flushColorWrite(blendInfo.fWriteColor); in flushGLState() 2006 this->flushBlend(blendInfo, swizzle); in flushGLState() 2859 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { in flushBlend() argument 2863 GrBlendEquation equation = blendInfo.fEquation; in flushBlend() 2864 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlend() 2865 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in flushBlend() 2869 !blendInfo.fWriteColor; in flushBlend() 2915 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in flushBlend() [all …]
|