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 simdvector& constantColor, in GenerateBlendFactor() argument
123 result.x = constantColor[0]; in GenerateBlendFactor()
124 result.y = constantColor[1]; in GenerateBlendFactor()
125 result.z = constantColor[2]; in GenerateBlendFactor()
126 result.w = constantColor[3]; in GenerateBlendFactor()
130 result.x = result.y = result.z = result.w = constantColor[3]; in GenerateBlendFactor()
135 result.x = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[0]); in GenerateBlendFactor()
136 result.y = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[1]); in GenerateBlendFactor()
137 result.z = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[2]); in GenerateBlendFactor()
138 result.w = _simd_sub_ps(_simd_set1_ps(1.0f), constantColor[3]); in GenerateBlendFactor()
[all …]
Dstate.h869 float constantColor[4]; member
/external/skia/src/gpu/
DGrPaint.cpp36 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor()
42 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor()
49 *constantColor = fColor; in isConstantBlendedColor()
DGrPaint.h108 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
/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/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.hpp224 void setConstantColor(unsigned int stage, const Color<float> &constantColor);
DPixelProcessor.cpp333 void PixelProcessor::setConstantColor(unsigned int stage, const Color<float> &constantColor) in setConstantColor() argument
337 context->textureStage[stage].setConstantColor(constantColor); in setConstantColor()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp613 Value* constantColor[4]; in Create() local
623 constantColor[i] = VBROADCAST(LOAD(pBlendState, {0, SWR_BLEND_STATE_constantColor, i})); in Create()
663 Clamp(state.format, constantColor); in Create()
688 state.blendState.sourceBlendFactor, constantColor, src, src1, dst, srcFactor); in Create()
690 constantColor, in Create()
697 state.blendState.destBlendFactor, constantColor, src, src1, dst, dstFactor); in Create()
699 constantColor, in Create()
713 state.blendState.sourceBlendFactor, constantColor, src, src1, dst, srcFactor); in Create()
715 state.blendState.destBlendFactor, constantColor, src, src1, dst, dstFactor); 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.cpp231 SkColor4f constantColor; in Create() local
232 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
237 colorPipeline->append_constant_color(alloc, constantColor); in Create()
239 is_opaque = constantColor.fA == 1.0f; in Create()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1896 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1897 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
1898 blendState.constantColor[2] = ctx->blend_color.color[2]; in swr_update_derived()
1899 blendState.constantColor[3] = ctx->blend_color.color[3]; in swr_update_derived()