Searched refs:diffuseColor (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | rastpos.c | 128 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos() local 130 COPY_3V(diffuseColor, base[0]); in shade_rastpos() 131 diffuseColor[3] = CLAMP( in shade_rastpos() 187 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); in shade_rastpos() 241 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); in shade_rastpos() 245 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F); in shade_rastpos() 246 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F); in shade_rastpos() 247 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F); in shade_rastpos() 248 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F); in shade_rastpos()
|
/external/swiftshader/src/Renderer/ |
D | VertexProcessor.cpp | 411 void VertexProcessor::setMaterialDiffuse(const Color<float> &diffuseColor) in setMaterialDiffuse() argument 413 ff.materialDiffuse[0] = diffuseColor.r; in setMaterialDiffuse() 414 ff.materialDiffuse[1] = diffuseColor.g; in setMaterialDiffuse() 415 ff.materialDiffuse[2] = diffuseColor.b; in setMaterialDiffuse() 416 ff.materialDiffuse[3] = diffuseColor.a; in setMaterialDiffuse()
|
D | VertexProcessor.hpp | 237 void setMaterialDiffuse(const Color<float> &diffuseColor);
|