| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| prog_statevars.c | 102 const GLuint ln = (GLuint) state[1]; local 106 COPY_4V(value, ctx->Light.Light[ln].Ambient); 109 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 112 COPY_4V(value, ctx->Light.Light[ln].Specular); 115 COPY_4V(value, ctx->Light.Light[ln].EyePosition); 118 value[0] = ctx->Light.Light[ln].ConstantAttenuation; 119 value[1] = ctx->Light.Light[ln].LinearAttenuation; 120 value[2] = ctx->Light.Light[ln].QuadraticAttenuation; 121 value[3] = ctx->Light.Light[ln].SpotExponent; 124 COPY_3V(value, ctx->Light.Light[ln].SpotDirection) 177 const GLuint ln = (GLuint) state[1]; local 513 const GLuint ln = (GLuint) state[2]; local 521 const GLuint ln = (GLuint) state[2]; local 528 const GLuint ln = (GLuint) state[2]; local 536 const GLuint ln = (GLuint) state[2]; local [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| texture.c | 45 float ln[] = {GL_LINEAR}; variable 360 magFilter = ln; 366 minFilter = ln;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| prog_statevars.c | 109 const GLuint ln = (GLuint) state[1]; local 114 COPY_4V(value, (float*)&ctx->Light.LightSource[ln] + index * 4); 116 value[0] = ctx->Light.LightSource[ln].SpotCutoff; 169 const GLuint ln = (GLuint) state[1]; local 184 value[i] = ctx->Light.LightSource[ln].Ambient[attr + i] * 595 * exp: 2^-(density/ln(2) * fogcoord) 596 * exp2: 2^-((density/(sqrt(ln(2))) * fogcoord)^2) 602 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */ 643 const GLuint ln = (GLuint) state[1]; local 644 COPY_3V(value, ctx->Light.Light[ln]._NormSpotDirection) 651 const GLuint ln = (GLuint) state[1]; local 668 const GLuint ln = (GLuint) state[1]; local 691 const GLuint ln = (GLuint) state[1]; local [all...] |
| /xsrc/external/mit/xf86-video-mga/dist/src/ |
| mga_dac3026.c | 373 int lm, ln, lp, lq; local 402 * First we figure out lm, ln, and z. 407 /* ln:lm = ln:3 */ 412 /* ln:lm = 4:3 */ 413 ln = 65 - 4; 415 /* ln:lm = 8:3 */ 416 ln = 65 - 8; 419 z = ( 11000 * ( 65 - ln )) / (( f_pll / 1000 ) * ( 65 - lm )); 422 /* ln:lm = ln:4 * [all...] |
| /xsrc/external/mit/fontconfig/dist/src/ |
| fcmatch.c | 722 FcValueListPtr l1, l2, ln = NULL, ll = NULL; local 749 ln = func (ln, 762 FcPatternObjectListAdd (new, fe->object, ln, FcFalse);
|