Searched refs:blendConst (Results 1 – 7 of 7) sorted by relevance
148 void setBlendColor(SkPMColor4f blendConst) { in setBlendColor() argument149 [fCommandEncoder setBlendColorRed: blendConst.fR in setBlendColor()150 green: blendConst.fG in setBlendColor()151 blue: blendConst.fB in setBlendColor()152 alpha: blendConst.fA]; in setBlendColor()
173 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant);175 renderCmdEncoder->setBlendColor(blendConst);
160 void setBlendColor(float blendConst[4]) { in setBlendColor()161 [(*fCommandEncoder) setBlendColorRed: blendConst[0] in setBlendColor()162 green: blendConst[1] in setBlendColor()163 blue: blendConst[2] in setBlendColor()164 alpha: blendConst[3]]; in setBlendColor()
105 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in set_blend_factor() local106 floatColors[0] = blendConst.fR; in set_blend_factor()107 floatColors[1] = blendConst.fG; in set_blend_factor()108 floatColors[2] = blendConst.fB; in set_blend_factor()109 floatColors[3] = blendConst.fA; in set_blend_factor()
672 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in SetDynamicBlendConstantState() local673 floatColors[0] = blendConst.fR; in SetDynamicBlendConstantState()674 floatColors[1] = blendConst.fG; in SetDynamicBlendConstantState()675 floatColors[2] = blendConst.fB; in SetDynamicBlendConstantState()676 floatColors[3] = blendConst.fA; in SetDynamicBlendConstantState()
944 wgpu::Color blendConst = { in setBlendConstants() local946 fActiveRenderPassEncoder.SetBlendConstant(&blendConst); in setBlendConstants()
2828 SkPMColor4f blendConst = swizzle.applyTo(blendInfo.fBlendConstant); in flushBlendAndColorWrite() local2829 if (!fHWBlendState.fConstColorValid || fHWBlendState.fConstColor != blendConst) { in flushBlendAndColorWrite()2830 GL_CALL(BlendColor(blendConst.fR, blendConst.fG, blendConst.fB, blendConst.fA)); in flushBlendAndColorWrite()2831 fHWBlendState.fConstColor = blendConst; in flushBlendAndColorWrite()