/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | blend.h | 32 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 …]
|
D | state.h | 869 float constantColor[4]; member
|
/third_party/skia/src/gpu/ |
D | GrPaint.cpp | 36 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor() 42 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor() 49 *constantColor = fColor; in isConstantBlendedColor()
|
D | GrPaint.h | 109 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
|
/third_party/flutter/skia/src/gpu/ |
D | GrPaint.cpp | 60 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor() 66 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor() 73 *constantColor = fColor; in isConstantBlendedColor()
|
D | GrPaint.h | 110 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | TextureStage.cpp | 92 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()
|
D | TextureStage.hpp | 139 void setConstantColor(const Color<float> &constantColor);
|
D | PixelProcessor.hpp | 225 void setConstantColor(unsigned int stage, const Color<float> &constantColor);
|
D | PixelProcessor.cpp | 333 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/ |
D | blend_jit.cpp | 615 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/ |
D | SkRasterPipelineBlitter.cpp | 185 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/ |
D | SkRasterPipelineBlitter.cpp | 239 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/ |
D | swr_state.cpp | 1915 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()
|