Searched defs:constantColor (Results 1 - 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dblend.h32 void GenerateBlendFactor(SWR_BLEND_FACTOR func, simdvector &constantColor, simdvector &src, simdvector &src1, simdvector &dst, simdvector &out) argument
117 result.x = constantColor[0];
118 result.y = constantColor[1];
119 result.z = constantColor[2];
120 result.w = constantColor[3];
124 result.x = result.y = result.z = result.w = constantColor[3];
129 result.x = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[0]);
130 result.y = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[1]);
131 result.z = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[2]);
132 result.w = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[
[all...]
H A Dstate.h787 float constantColor[4]; member in struct:SWR_BLEND_STATE
/external/swiftshader/src/Renderer/
H A DTextureStage.cpp92 void TextureStage::setConstantColor(const Color<float> &constantColor) argument
95 short r = iround(4095 * constantColor.r);
96 short g = iround(4095 * constantColor.g);
97 short b = iround(4095 * constantColor.b);
98 short a = iround(4095 * constantColor.a);
H A DPixelProcessor.cpp324 void PixelProcessor::setConstantColor(unsigned int stage, const Color<float> &constantColor) argument
328 context->textureStage[stage].setConstantColor(constantColor);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
H A Dblend_jit.cpp567 Value* constantColor[4]; local
577 constantColor[i] = VBROADCAST(LOAD(pBlendState, { 0, SWR_BLEND_STATE_constantColor, i }));
607 Clamp(state.format, constantColor);
631 GenerateBlendFactor<true, false>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst, srcFactor);
632 GenerateBlendFactor<false, true>(state.blendState.sourceAlphaBlendFactor, constantColor, src, src1, dst, srcFactor);
634 GenerateBlendFactor<true, false>(state.blendState.destBlendFactor, constantColor, src, src1, dst, dstFactor);
635 GenerateBlendFactor<false, true>(state.blendState.destAlphaBlendFactor, constantColor, src, src1, dst, dstFactor);
642 GenerateBlendFactor<true, true>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst, srcFactor);
643 GenerateBlendFactor<true, true>(state.blendState.destBlendFactor, constantColor, src, src1, dst, dstFactor);
/external/skia/src/core/
H A DSkRasterPipelineBlitter.cpp195 SkPM4f constantColor; local
196 SkJumper_MemoryCtx constantColorPtr = { &constantColor, 0 };
200 colorPipeline->append_constant_color(alloc, constantColor);
202 is_opaque = constantColor.a() == 1.0f;
/external/skqp/src/core/
H A DSkRasterPipelineBlitter.cpp195 SkPM4f constantColor; local
196 SkJumper_MemoryCtx constantColorPtr = { &constantColor, 0 };
200 colorPipeline->append_constant_color(alloc, constantColor);
202 is_opaque = constantColor.a() == 1.0f;

Completed in 249 milliseconds