Home
last modified time | relevance | path

Searched refs:constColor (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dblend.h304 simdvector constColor; in Blend() local
305 constColor.x = _simd_broadcast_ss(&pBlendState->constantColor[0]); in Blend()
306 constColor.y = _simd_broadcast_ss(&pBlendState->constantColor[1]); in Blend()
307 constColor.z = _simd_broadcast_ss(&pBlendState->constantColor[2]); in Blend()
308 constColor.w = _simd_broadcast_ss(&pBlendState->constantColor[3]); in Blend()
314 Clamp<type>(constColor); in Blend()
320 (SWR_BLEND_FACTOR)pState->sourceBlendFactor, constColor, src, src1, dst, srcFactor); in Blend()
322 constColor, in Blend()
329 (SWR_BLEND_FACTOR)pState->destBlendFactor, constColor, src, src1, dst, dstFactor); in Blend()
331 (SWR_BLEND_FACTOR)pState->destAlphaBlendFactor, constColor, src, src1, dst, dstFactor); in Blend()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp52 Value* constColor[4], in GenerateBlendFactor()
88 out[0] = constColor[0]; in GenerateBlendFactor()
89 out[1] = constColor[1]; in GenerateBlendFactor()
90 out[2] = constColor[2]; in GenerateBlendFactor()
91 out[3] = constColor[3]; in GenerateBlendFactor()
94 out[0] = out[1] = out[2] = out[3] = constColor[3]; in GenerateBlendFactor()
127 out[0] = FSUB(VIMMED1(1.0f), constColor[0]); in GenerateBlendFactor()
128 out[1] = FSUB(VIMMED1(1.0f), constColor[1]); in GenerateBlendFactor()
129 out[2] = FSUB(VIMMED1(1.0f), constColor[2]); in GenerateBlendFactor()
130 out[3] = FSUB(VIMMED1(1.0f), constColor[3]); in GenerateBlendFactor()
[all …]
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp498 const SkPMColor4f* constColor = nullptr; in attemptQuadOptimization() local
503 constColor = &paintColor; in attemptQuadOptimization()
524 GrQuadUtils::CropToRect(rtRect, *aa, quad, /* compute local */ !constColor); in attemptQuadOptimization()
528 bool simpleColor = !stencilSettings && constColor; in attemptQuadOptimization()
565 /*compute local*/ !constColor)) { in attemptQuadOptimization()
571 this->clear(*constColor); in attemptQuadOptimization()
578 this->clear(scissorRect, *constColor); in attemptQuadOptimization()