Searched refs:lu (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dlight.c107 struct gl_light_uniforms *lu = &ctx->Light.LightSource[lnum]; local in function:_mesa_light
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
692 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:_mesa_update_material
703 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:_mesa_update_material
728 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:_mesa_update_material
739 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:_mesa_update_material
751 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:_mesa_update_material
762 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:_mesa_update_material
1046 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:compute_light_positions
1210 init_light(struct gl_light * l,struct gl_light_uniforms * lu,GLuint n) argument
[all...]
H A Drastpos.c160 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:shade_rastpos
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);
H A Dattrib.c961 const struct gl_light_uniforms *lu = &attr->Light.LightSource[i]; local in function:_mesa_PopAttrib
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
[all...]
H A Dffvertex_prog.c192 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:make_state_key
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/
H A Dnv10_state_tnl.c241 nv10_get_spot_coeff(struct gl_light *l, struct gl_light_uniforms *lu, float k[7]) argument
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 in function:nv10_emit_light_source
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 local in function:nv10_emit_material_ambient
378 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:nv10_emit_material_diffuse
398 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:nv10_emit_material_specular
[all...]
H A Dnv20_state_tnl.c203 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:nv20_emit_light_source
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 in function:nv20_emit_material_ambient
273 lu->Ambient :
296 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:nv20_emit_material_diffuse
298 lu->Diffuse :
317 struct gl_light_uniforms *lu local in function:nv20_emit_material_specular
[all...]
H A Dnv10_driver.h167 nv10_get_spot_coeff(struct gl_light *l, struct gl_light_uniforms *lu, float k[7]);
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_lighttmp.h113 struct gl_light_uniforms *lu = &ctx->Light.LightSource[l]; local in function:TAG
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 in function:TAG
321 attenuation = 1.0F / (lu->ConstantAttenuation + d *
322 (lu->LinearAttenuation + d *
323 lu
[all...]
/xsrc/external/mit/xcb-util/dist/atom/
H A Datoms.gperf.m4199 return makename("%s_U%lu", base, id);
201 return makename("U%lu", id);
H A Datoms.c834 return makename("%s_U%lu", base, id);
836 return makename("U%lu", id);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_state_init.c875 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:radeonInitState
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 );
H A Dradeon_state.c683 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local in function:update_light_colors
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 in function:update_light
901 if (lu->EyePosition[3] == 0.0) {
924 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local in function:radeonLightfv
951 if (lu->EyePosition[3] != 0.0F)
968 fcmd[LIT_SPOT_CUTOFF] = lu->_CosCutoff;
971 if (lu
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_state_init.c1221 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; local in function:r200InitState
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 );
H A Dr200_state.c869 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local in function:update_light_colors
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 in function:update_light
1124 if (lu->EyePosition[3] == 0.0) {
1147 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; local in function:r200Lightfv
1168 if (lu->EyePosition[3] != 0.0F)
1185 fcmd[LIT_SPOT_CUTOFF] = lu->_CosCutoff;
1188 if (lu
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xquartz/pbproxy/
H A Dx-selection.m148 ErrorF("bytesleft %lu\n", bytesleft);
163 ErrorF("format %d numitems %lu bytesleft %lu\n",
203 ErrorF("bytesleft %lu\n", bytesleft);
666 DebugF("pbtypes retainCount after containsObject: %lu\n",
686 DebugF("UTF-8 length: %lu\n", length);
1180 DebugF("data retainCount before NSBitmapImageRep initWithData: %lu\n",
1191 DebugF("data retainCount after NSBitmapImageRep initWithData: %lu\n",
1207 DebugF("bmimage retainCount after TIFFRepresentation %lu\n",
1225 DebugF("bmimage retainCount before release %lu\
[all...]
/xsrc/external/mit/xgc/dist/
H A Dgram.c760 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1187 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/pbproxy/
H A Dx-selection.m155 printf("bytesleft %lu\n", bytesleft);
171 printf("format %d numitems %lu bytesleft %lu\n",
214 printf("bytesleft %lu\n", bytesleft);
/xsrc/external/mit/xedit/dist/lisp/modules/progmodes/
H A Dc.lsp1023 "(\\d+|0x\\x+)(u|ul|ull|l|ll|lu|llu)?|"
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/
H A Dparser.c881 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/
H A Dwinprefsyacc.c993 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/
H A Dfile.c60 _XcursorTrace(T_RETURN(lu), code);
/xsrc/external/mit/MesaLib.old/src/compiler/glsl/glcpp/
H A Dglcpp-parse.c1166 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/
H A Dprogram_parse.tab.c1385 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1843 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
/xsrc/external/mit/MesaLib.old/src/compiler/glsl/
H A Dglsl_parser.cpp1846 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
2316 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dintel_mipmap_tree.c838 1lu << tiling,

Completed in 96 milliseconds

12