Home
last modified time | relevance | path

Searched refs:constantColor (Results 1 – 14 of 14) 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.h787 float constantColor[4]; member
/external/skia/src/gpu/
DGrPaint.cpp62 bool GrPaint::isConstantBlendedColor(GrColor* constantColor) const { in isConstantBlendedColor()
68 *constantColor = GrColor_TRANSPARENT_BLACK; in isConstantBlendedColor()
75 *constantColor = fColor.toGrColor(); in isConstantBlendedColor()
DGrPaint.h138 bool isConstantBlendedColor(GrColor* constantColor) const;
/external/skqp/src/gpu/
DGrPaint.cpp62 bool GrPaint::isConstantBlendedColor(GrColor* constantColor) const { in isConstantBlendedColor()
68 *constantColor = GrColor_TRANSPARENT_BLACK; in isConstantBlendedColor()
75 *constantColor = fColor.toGrColor(); in isConstantBlendedColor()
DGrPaint.h138 bool isConstantBlendedColor(GrColor* 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.hpp220 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.cpp567 Value* constantColor[4]; in Create() local
577constantColor[i] = VBROADCAST(LOAD(pBlendState, { 0, SWR_BLEND_STATE_constantColor, i })); in Create()
607 Clamp(state.format, constantColor); in Create()
631 …GenerateBlendFactor<true, false>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst… in Create()
632 …rateBlendFactor<false, true>(state.blendState.sourceAlphaBlendFactor, constantColor, src, src1, ds… in Create()
634 …GenerateBlendFactor<true, false>(state.blendState.destBlendFactor, constantColor, src, src1, dst, … in Create()
635 …nerateBlendFactor<false, true>(state.blendState.destAlphaBlendFactor, constantColor, src, src1, ds… in Create()
642 …GenerateBlendFactor<true, true>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst,… in Create()
643 …GenerateBlendFactor<true, true>(state.blendState.destBlendFactor, constantColor, src, src1, dst, d… in Create()
/external/skqp/src/core/
DSkRasterPipelineBlitter.cpp195 SkPM4f constantColor; in Create() local
196 SkJumper_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
200 colorPipeline->append_constant_color(alloc, constantColor); in Create()
202 is_opaque = constantColor.a() == 1.0f; in Create()
/external/skia/src/core/
DSkRasterPipelineBlitter.cpp195 SkPM4f constantColor; in Create() local
196 SkJumper_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
200 colorPipeline->append_constant_color(alloc, constantColor); in Create()
202 is_opaque = constantColor.a() == 1.0f; in Create()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1380 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1381 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
1382 blendState.constantColor[2] = ctx->blend_color.color[2]; in swr_update_derived()
1383 blendState.constantColor[3] = ctx->blend_color.color[3]; in swr_update_derived()