HomeSort by: relevance | last modified time | path
    Searched refs:lu (Results 1 - 24 of 24) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
light.c 107 struct gl_light_uniforms *lu = &ctx->Light.LightSource[lnum]; local
111 if (TEST_EQ_4V(lu->Ambient, params))
114 COPY_4V( lu->Ambient, params );
117 if (TEST_EQ_4V(lu->Diffuse, params))
120 COPY_4V( lu->Diffuse, params );
123 if (TEST_EQ_4V(lu->Specular, params))
126 COPY_4V( lu->Specular, params );
130 if (TEST_EQ_4V(lu->EyePosition, params))
134 bool old_positional = lu->EyePosition[3] != 0.0f;
136 COPY_4V(lu->EyePosition, params)
692 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
703 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
728 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
739 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
751 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
762 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
1046 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
    [all...]
rastpos.c 160 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
186 attenuation = 1.0F / (lu->ConstantAttenuation + d *
187 (lu->LinearAttenuation + d *
188 lu->QuadraticAttenuation));
193 if (PV_dot_dir<lu->_CosCutoff) {
197 GLfloat spot = powf(PV_dot_dir, lu->SpotExponent);
attrib.c 961 const struct gl_light_uniforms *lu = &attr->Light.LightSource[i]; local
965 _mesa_light(ctx, i, GL_AMBIENT, lu->Ambient);
966 _mesa_light(ctx, i, GL_DIFFUSE, lu->Diffuse);
967 _mesa_light(ctx, i, GL_SPECULAR, lu->Specular);
968 _mesa_light(ctx, i, GL_POSITION, lu->EyePosition);
969 _mesa_light(ctx, i, GL_SPOT_DIRECTION, lu->SpotDirection);
972 p[0] = lu->SpotExponent;
977 p[0] = lu->SpotCutoff;
982 p[0] = lu->ConstantAttenuation;
987 p[0] = lu->LinearAttenuation
    [all...]
ffvertex_prog.c 192 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
196 if (lu->EyePosition[3] == 0.0F)
199 if (lu->SpotCutoff == 180.0F)
202 if (lu->ConstantAttenuation != 1.0F ||
203 lu->LinearAttenuation != 0.0F ||
204 lu->QuadraticAttenuation != 0.0F)
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
nv10_state_tnl.c 241 nv10_get_spot_coeff(struct gl_light *l, struct gl_light_uniforms *lu, float k[7])
243 float e = lu->SpotExponent;
259 if (lu->SpotCutoff > 0) {
260 float cutoff = MAX2(a3, 1 / (1 - lu->_CosCutoff));
287 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
294 PUSH_DATAf(push, lu->ConstantAttenuation);
295 PUSH_DATAf(push, lu->LinearAttenuation);
296 PUSH_DATAf(push, lu->QuadraticAttenuation);
309 nv10_get_spot_coeff(l, lu, k);
354 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i] local
378 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
398 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
    [all...]
nv20_state_tnl.c 203 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
210 PUSH_DATAf(push, lu->ConstantAttenuation);
211 PUSH_DATAf(push, lu->LinearAttenuation);
212 PUSH_DATAf(push, lu->QuadraticAttenuation);
225 nv10_get_spot_coeff(l, lu, k);
271 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
273 lu->Ambient :
296 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
298 lu->Diffuse :
317 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i] local
    [all...]
nv10_driver.h 167 nv10_get_spot_coeff(struct gl_light *l, struct gl_light_uniforms *lu, float k[7]);
  /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
t_vb_lighttmp.h 113 struct gl_light_uniforms *lu = &ctx->Light.LightSource[l]; local
141 attenuation = 1.0F / (lu->ConstantAttenuation + d *
142 (lu->LinearAttenuation + d *
143 lu->QuadraticAttenuation));
149 if (PV_dot_dir<lu->_CosCutoff) {
153 GLfloat spot = powf(PV_dot_dir, lu->SpotExponent);
293 struct gl_light_uniforms *lu = &ctx->Light.LightSource[l]; local
321 attenuation = 1.0F / (lu->ConstantAttenuation + d *
322 (lu->LinearAttenuation + d *
323 lu->QuadraticAttenuation))
    [all...]
  /xsrc/external/mit/xcb-util/dist/atom/
atoms.c 834 return makename("%s_U%lu", base, id);
836 return makename("U%lu", id);
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
radeon_state_init.c 875 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
879 ctx->Driver.Lightfv( ctx, p, GL_AMBIENT, lu->Ambient );
880 ctx->Driver.Lightfv( ctx, p, GL_DIFFUSE, lu->Diffuse );
881 ctx->Driver.Lightfv( ctx, p, GL_SPECULAR, lu->Specular );
884 ctx->Driver.Lightfv( ctx, p, GL_SPOT_EXPONENT, &lu->SpotExponent );
885 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &lu->SpotCutoff );
887 &lu->ConstantAttenuation );
889 &lu->LinearAttenuation );
891 &lu->QuadraticAttenuation );
radeon_state.c 683 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local
691 COPY_4V( &fcmd[LIT_AMBIENT_RED], lu->Ambient );
692 COPY_4V( &fcmd[LIT_DIFFUSE_RED], lu->Diffuse );
693 COPY_4V( &fcmd[LIT_SPECULAR_RED], lu->Specular );
898 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local
901 if (lu->EyePosition[3] == 0.0) {
924 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local
951 if (lu->EyePosition[3] != 0.0F)
968 fcmd[LIT_SPOT_CUTOFF] = lu->_CosCutoff;
971 if (lu->SpotCutoff != 180.0F
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
r200_state_init.c 1221 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local
1225 ctx->Driver.Lightfv( ctx, p, GL_AMBIENT, lu->Ambient );
1226 ctx->Driver.Lightfv( ctx, p, GL_DIFFUSE, lu->Diffuse );
1227 ctx->Driver.Lightfv( ctx, p, GL_SPECULAR, lu->Specular );
1230 ctx->Driver.Lightfv( ctx, p, GL_SPOT_EXPONENT, &lu->SpotExponent );
1231 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &lu->SpotCutoff );
1233 &lu->ConstantAttenuation );
1235 &lu->LinearAttenuation );
1237 &lu->QuadraticAttenuation );
r200_state.c 869 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local
877 COPY_4V( &fcmd[LIT_AMBIENT_RED], lu->Ambient );
878 COPY_4V( &fcmd[LIT_DIFFUSE_RED], lu->Diffuse );
879 COPY_4V( &fcmd[LIT_SPECULAR_RED], lu->Specular );
1121 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local
1124 if (lu->EyePosition[3] == 0.0) {
1147 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local
1168 if (lu->EyePosition[3] != 0.0F)
1185 fcmd[LIT_SPOT_CUTOFF] = lu->_CosCutoff;
1188 if (lu->SpotCutoff != 180.0F
    [all...]
  /xsrc/external/mit/xedit/dist/lisp/modules/progmodes/
c.lsp 1023 "(\\d+|0x\\x+)(u|ul|ull|l|ll|lu|llu)?|"
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/
parser.c 881 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1358 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  /xsrc/external/mit/xorg-server.old/dist/hw/xwin/
winprefsyacc.c 993 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1492 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  /xsrc/external/mit/libXcursor/dist/src/
file.c 60 _XcursorTrace(T_RETURN(lu), code);
  /xsrc/external/mit/MesaLib.old/src/compiler/glsl/glcpp/
glcpp-parse.c 1166 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1636 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  /xsrc/external/mit/MesaLib.old/src/mesa/program/
program_parse.tab.c 1385 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1843 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
si_descriptors.c 1339 sctx->descriptors_dirty |= 1lu << descriptors_idx;
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
brw_mipmap_tree.c 638 1lu << tiling,
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
intel_mipmap_tree.c 838 1lu << tiling,
  /xsrc/external/mit/MesaLib.old/src/compiler/glsl/
glsl_parser.cpp 1846 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
2316 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  /xsrc/external/mit/xterm/dist/
graphics_regis.c 1652 TRACE((" %lu", pix));
7364 TRACE(("found row %u for glyph %u: \"%s\" value %02lx (%lu)\n",

Completed in 54 milliseconds