| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | fog.c | 93 ctx->Fog._PackedMode = FOG_LINEAR; 96 ctx->Fog._PackedMode = FOG_EXP; 99 ctx->Fog._PackedMode = FOG_EXP2; 105 if (ctx->Fog.Mode == m) 108 ctx->Fog.Mode = m; 109 ctx->Fog._PackedEnabledMode = ctx->Fog.Enabled ? 110 ctx->Fog._PackedMode : FOG_NONE; 117 if (ctx->Fog.Density == *params) 120 ctx->Fog [all...] |
| H A D | hint.c | 55 if (ctx->Hint.Fog == mode) 58 ctx->Hint.Fog = mode; 156 ctx->Hint.Fog = GL_DONT_CARE;
|
| H A D | state.h | 81 if (ctx->Fog.ColorSumEnabled)
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | fog.c | 93 ctx->Fog._PackedMode = FOG_LINEAR; 96 ctx->Fog._PackedMode = FOG_EXP; 99 ctx->Fog._PackedMode = FOG_EXP2; 105 if (ctx->Fog.Mode == m) 108 ctx->Fog.Mode = m; 109 if (ctx->Fog.Enabled) { 110 ctx->Fog._PackedEnabledMode = ctx->Fog._PackedMode; 119 if (ctx->Fog.Density == *params) 122 ctx->Fog [all...] |
| H A D | hint.c | 55 if (ctx->Hint.Fog == mode) 58 ctx->Hint.Fog = mode; 156 ctx->Hint.Fog = GL_DONT_CARE;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_fog.c | 47 /* Fog blend factor computation for hw tcl */ 91 * Fog coordinates are distances from the eye (typically between the 94 * Fog blend factors are in the range [0,1]. 99 GLfloat end = ctx->Fog.End; 103 switch (ctx->Fog.Mode) { 105 if (ctx->Fog.Start == ctx->Fog.End) 108 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start); 113 d = ctx->Fog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_fog.c | 46 /* Fog blend factor computation for hw tcl */ 90 * Fog coordinates are distances from the eye (typically between the 93 * Fog blend factors are in the range [0,1]. 98 GLfloat end = ctx->Fog.End; 102 switch (ctx->Fog.Mode) { 104 if (ctx->Fog.Start == ctx->Fog.End) 107 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start); 112 d = ctx->Fog [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_fog.c | 43 switch (ctx->Fog.Mode) { 45 if (ctx->Fog.Start == ctx->Fog.End) 48 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start); 49 f = (ctx->Fog.End - z) * d; 52 d = ctx->Fog.Density; 57 d = ctx->Fog.Density; 143 rFog = ctx->Fog.Color[RCOMP] * 255.0F; 144 gFog = ctx->Fog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_fog.c | 43 switch (ctx->Fog.Mode) { 45 if (ctx->Fog.Start == ctx->Fog.End) 48 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start); 49 f = (ctx->Fog.End - z) * d; 52 d = ctx->Fog.Density; 57 d = ctx->Fog.Density; 143 rFog = ctx->Fog.Color[RCOMP] * 255.0F; 144 gFog = ctx->Fog [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| H A D | program_parse_extra.c | 100 if (state->option.Fog == OPTION_NONE) { 101 state->option.Fog = fog_option; 124 return state->option.Fog == fog_option ? 1 : 0;
|
| H A D | prog_statevars.c | 258 COPY_4V(value, ctx->Fog.Color); 260 COPY_4V(value, ctx->Fog.ColorUnclamped); 263 value[0] = ctx->Fog.Density; 264 value[1] = ctx->Fog.Start; 265 value[2] = ctx->Fog.End; 266 value[3] = 1.0f / (ctx->Fog.End - ctx->Fog.Start); 470 value[0] = (ctx->Fog.End == ctx->Fog.Start) 471 ? 1.0f : (GLfloat)(-1.0F / (ctx->Fog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| H A D | program_parse_extra.c | 100 if (state->option.Fog == OPTION_NONE) { 101 state->option.Fog = fog_option; 124 return state->option.Fog == fog_option ? 1 : 0;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| H A D | t_vb_fog.c | 91 * Fog coordinates are distances from the eye (typically between the 95 * Fog blend factors are in the range [0,1]. 100 GLfloat end = ctx->Fog.End; 110 switch (ctx->Fog.Mode) { 112 if (ctx->Fog.Start == ctx->Fog.End) 115 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start); 123 d = ctx->Fog.Density; 130 d = ctx->Fog [all...] |
| H A D | t_context.c | 140 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) 166 if (ctx->Fog.Enabled 238 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) 248 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST))
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/ |
| H A D | t_vb_fog.c | 91 * Fog coordinates are distances from the eye (typically between the 95 * Fog blend factors are in the range [0,1]. 100 GLfloat end = ctx->Fog.End; 110 switch (ctx->Fog.Mode) { 112 if (ctx->Fog.Start == ctx->Fog.End) 115 d = 1.0F / (ctx->Fog.End - ctx->Fog.Start); 123 d = ctx->Fog.Density; 130 d = ctx->Fog [all...] |
| H A D | t_context.c | 142 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) 168 if (ctx->Fog.Enabled 240 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) 250 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST))
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| H A D | drawpix.c | 26 static int Fog = 0; variable in typeref:typename:int 41 Fog = 0; 67 if (Fog) 95 if (Fog) 207 Fog = !Fog; 208 printf("Fog %d\n", Fog);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| H A D | intel_pixel.c | 101 if (ctx->Fog.Enabled) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | intel_pixel.c | 98 if (ctx->Fog.Enabled) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| H A D | intel_pixel.c | 101 if (ctx->Fog.Enabled) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_pixel.c | 98 if (ctx->Fog.Enabled) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/ |
| H A D | driverfuncs.c | 251 ctx->Driver.Enable(ctx, GL_COLOR_SUM, ctx->Fog.ColorSumEnabled); 255 ctx->Driver.Enable(ctx, GL_FOG, ctx->Fog.Enabled); 267 ctx->Driver.Fogfv(ctx, GL_FOG_COLOR, ctx->Fog.Color); 269 GLfloat mode = (GLfloat) ctx->Fog.Mode; 272 ctx->Driver.Fogfv(ctx, GL_FOG_DENSITY, &ctx->Fog.Density); 273 ctx->Driver.Fogfv(ctx, GL_FOG_START, &ctx->Fog.Start); 274 ctx->Driver.Fogfv(ctx, GL_FOG_END, &ctx->Fog.End);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/ |
| H A D | driverfuncs.c | 253 ctx->Driver.Enable(ctx, GL_COLOR_SUM, ctx->Fog.ColorSumEnabled); 257 ctx->Driver.Enable(ctx, GL_FOG, ctx->Fog.Enabled); 269 ctx->Driver.Fogfv(ctx, GL_FOG_COLOR, ctx->Fog.Color); 271 GLfloat mode = (GLfloat) ctx->Fog.Mode; 274 ctx->Driver.Fogfv(ctx, GL_FOG_DENSITY, &ctx->Fog.Density); 275 ctx->Driver.Fogfv(ctx, GL_FOG_START, &ctx->Fog.Start); 276 ctx->Driver.Fogfv(ctx, GL_FOG_END, &ctx->Fog.End);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nv04_state_raster.c | 223 /* Fog. */ 224 if (ctx->Fog.Enabled) { 226 nv04->fog = pack_rgba_f(MESA_FORMAT_B8G8R8A8_UNORM, ctx->Fog.Color);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nv04_state_raster.c | 223 /* Fog. */ 224 if (ctx->Fog.Enabled) { 226 nv04->fog = pack_rgba_f(MESA_FORMAT_B8G8R8A8_UNORM, ctx->Fog.Color);
|