Home
last modified time | relevance | path

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

/third_party/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
/third_party/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.h109 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
/third_party/flutter/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;
/third_party/skia/third_party/externals/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.hpp225 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()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp615 Value* constantColor[4]; in Create() local
625 constantColor[i] = VBROADCAST(LOAD(pBlendState, {0, SWR_BLEND_STATE_constantColor, i})); in Create()
665 Clamp(state.format, constantColor); in Create()
690 state.blendState.sourceBlendFactor, constantColor, src, src1, dst, srcFactor); in Create()
692 constantColor, in Create()
699 state.blendState.destBlendFactor, constantColor, src, src1, dst, dstFactor); in Create()
701 constantColor, in Create()
715 state.blendState.sourceBlendFactor, constantColor, src, src1, dst, srcFactor); in Create()
717 state.blendState.destBlendFactor, constantColor, src, src1, dst, dstFactor); in Create()
/third_party/flutter/skia/src/core/
DSkRasterPipelineBlitter.cpp185 SkColor4f constantColor; in Create() local
186 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
191 colorPipeline->append_constant_color(alloc, constantColor); in Create()
193 is_opaque = constantColor.fA == 1.0f; in Create()
/third_party/skia/src/core/
DSkRasterPipelineBlitter.cpp239 SkColor4f constantColor; in Create() local
240 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()
245 colorPipeline->append_constant_color(alloc, constantColor); in Create()
247 is_opaque = constantColor.fA == 1.0f; in Create()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1915 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1916 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
1917 blendState.constantColor[2] = ctx->blend_color.color[2]; in swr_update_derived()
1918 blendState.constantColor[3] = ctx->blend_color.color[3]; in swr_update_derived()