Home
last modified time | relevance | path

Searched refs:constantColor (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dblend.h32 void GenerateBlendFactor(SWR_BLEND_FACTOR func, simdvector &constantColor, simdvector &src, simdvec… in GenerateBlendFactor() argument
117 result.x = constantColor[0]; in GenerateBlendFactor()
118 result.y = constantColor[1]; in GenerateBlendFactor()
119 result.z = constantColor[2]; in GenerateBlendFactor()
120 result.w = constantColor[3]; in GenerateBlendFactor()
124 result.x = result.y = result.z = result.w = constantColor[3]; in GenerateBlendFactor()
129 result.x = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[0]); in GenerateBlendFactor()
130 result.y = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[1]); in GenerateBlendFactor()
131 result.z = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[2]); in GenerateBlendFactor()
132 result.w = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[3]); in GenerateBlendFactor()
[all …]
Dstate.h863 float constantColor[4]; member
/external/skqp/src/gpu/
DGrPaint.cpp60 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor()
66 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor()
73 *constantColor = fColor; in isConstantBlendedColor()
DGrPaint.h110 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
/external/skia/src/gpu/
DGrPaint.cpp60 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor()
66 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor()
73 *constantColor = fColor; in isConstantBlendedColor()
DGrPaint.h110 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
/external/swiftshader/src/Renderer/
DTextureStage.cpp92 void TextureStage::setConstantColor(const Color<float> &constantColor) in setConstantColor() argument
95 short r = iround(4095 * constantColor.r); in setConstantColor()
96 short g = iround(4095 * constantColor.g); in setConstantColor()
97 short b = iround(4095 * constantColor.b); in setConstantColor()
98 short a = iround(4095 * constantColor.a); in setConstantColor()
DTextureStage.hpp139 void setConstantColor(const Color<float> &constantColor);
DPixelProcessor.hpp221 void setConstantColor(unsigned int stage, const Color<float> &constantColor);
DPixelProcessor.cpp324 void PixelProcessor::setConstantColor(unsigned int stage, const Color<float> &constantColor) in setConstantColor() argument
328 context->textureStage[stage].setConstantColor(constantColor); in setConstantColor()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp565 Value* constantColor[4]; in Create() local
575constantColor[i] = VBROADCAST(LOAD(pBlendState, { 0, SWR_BLEND_STATE_constantColor, i })); in Create()
605 Clamp(state.format, constantColor); in Create()
629 …GenerateBlendFactor<true, false>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst… in Create()
630 …rateBlendFactor<false, true>(state.blendState.sourceAlphaBlendFactor, constantColor, src, src1, ds… in Create()
632 …GenerateBlendFactor<true, false>(state.blendState.destBlendFactor, constantColor, src, src1, dst, … in Create()
633 …nerateBlendFactor<false, true>(state.blendState.destAlphaBlendFactor, constantColor, src, src1, ds… in Create()
640 …GenerateBlendFactor<true, true>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst,… in Create()
641 …GenerateBlendFactor<true, true>(state.blendState.destBlendFactor, constantColor, src, src1, dst, d… in Create()
/external/skqp/src/core/
DSkRasterPipelineBlitter.cpp183 SkColor4f constantColor; in Create() local
184 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
189 colorPipeline->append_constant_color(alloc, constantColor); in Create()
191 is_opaque = constantColor.fA == 1.0f; in Create()
/external/skia/src/core/
DSkRasterPipelineBlitter.cpp183 SkColor4f constantColor; in Create() local
184 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
189 colorPipeline->append_constant_color(alloc, constantColor); in Create()
191 is_opaque = constantColor.fA == 1.0f; in Create()
/external/swiftshader/src/Device/
DPixelProcessor.hpp184 void setConstantColor(unsigned int stage, const Color<float> &constantColor);
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1641 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1642 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
1643 blendState.constantColor[2] = ctx->blend_color.color[2]; in swr_update_derived()
1644 blendState.constantColor[3] = ctx->blend_color.color[3]; in swr_update_derived()