HomeSort by relevance Sort by last modified time
    Searched refs:fog (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestFog.java 57 private FogFilter fog; field in class:TestFog
101 fog=new FogFilter();
102 fog.setFogColor(new ColorRGBA(0.9f, 0.9f, 0.9f, 1.0f));
103 fog.setFogDistance(155);
104 fog.setFogDensity(2.0f);
105 fpp.addFilter(fog);
138 fog.setFogDensity(fog.getFogDensity()+0.001f);
139 System.out.println("Fog density : "+fog.getFogDensity())
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_shader_semantics.h 43 int fog; member in struct:r300_shader_semantics
55 info->fog = ATTR_UNUSED;
r300_vs.c 79 vs_outputs->fog = i;
163 /* Fog coordinates. */
164 if (outputs->fog != ATTR_UNUSED) {
165 c->code->outputs[outputs->fog] = reg++;
r300_state_derived.c 117 /* Fog coordinates. */
118 if (gen_count < 8 && vs_outputs->fog != ATTR_UNUSED) {
120 vs_outputs->fog);
496 /* Rasterize fog coordinates. */
497 if (vs_outputs->fog != ATTR_UNUSED && tex_count < 8) {
498 /* Set up the fog coordinates in VAP. */
507 if (fs_inputs->fog != ATTR_UNUSED) {
511 DBG(r300, DBG_RS, "r300: Rasterized fog written to FS.\n");
513 DBG(r300, DBG_RS, "r300: Rasterized fog unused.\n");
520 if (fs_inputs->fog != ATTR_UNUSED)
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_shader_semantics.h 43 int fog; member in struct:r300_shader_semantics
55 info->fog = ATTR_UNUSED;
r300_vs.c 79 vs_outputs->fog = i;
163 /* Fog coordinates. */
164 if (outputs->fog != ATTR_UNUSED) {
165 c->code->outputs[outputs->fog] = reg++;
r300_state_derived.c 117 /* Fog coordinates. */
118 if (gen_count < 8 && vs_outputs->fog != ATTR_UNUSED) {
120 vs_outputs->fog);
496 /* Rasterize fog coordinates. */
497 if (vs_outputs->fog != ATTR_UNUSED && tex_count < 8) {
498 /* Set up the fog coordinates in VAP. */
507 if (fs_inputs->fog != ATTR_UNUSED) {
511 DBG(r300, DBG_RS, "r300: Rasterized fog written to FS.\n");
513 DBG(r300, DBG_RS, "r300: Rasterized fog unused.\n");
520 if (fs_inputs->fog != ATTR_UNUSED)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv04_context.h 48 uint32_t fog; member in struct:nv04_context
nv04_state_raster.c 221 /* Fog. */
222 if (ctx->Fog.Enabled) {
224 nv04->fog = pack_rgba_f(MESA_FORMAT_ARGB8888, ctx->Fog.Color);
nv04_render.c 109 PUSH_DATA (push, nv04->fog);
138 PUSH_DATA (push, nv04->fog);
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_context.h 48 uint32_t fog; member in struct:nv04_context
nv04_state_raster.c 221 /* Fog. */
222 if (ctx->Fog.Enabled) {
224 nv04->fog = pack_rgba_f(MESA_FORMAT_ARGB8888, ctx->Fog.Color);
nv04_render.c 109 PUSH_DATA (push, nv04->fog);
138 PUSH_DATA (push, nv04->fog);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
i915_state_derived.c 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; local
67 colors[0] = colors[1] = fog = needW = face = FALSE;
95 fog = TRUE;
137 /* fog coord, not fog blend factor */
138 if (fog) {
  /external/mesa3d/src/gallium/drivers/i915/
i915_state_derived.c 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; local
67 colors[0] = colors[1] = fog = needW = face = FALSE;
95 fog = TRUE;
137 /* fog coord, not fog blend factor */
138 if (fog) {
  /frameworks/native/opengl/libagl/
light.cpp 96 c->fog.mode = GL_EXP;
97 c->fog.fog = fog_exp;
98 c->fog.density = 0x10000;
99 c->fog.end = 0x10000;
100 c->fog.invEndMinusStart = 0x10000;
121 return clampF(gglMulx((c->fog.end - ((z<0)?-z:z)), c->fog.invEndMinusStart));
125 const float e = fixedToFloat(gglMulx(c->fog.density, ((z<0)?-z:z)));
130 const float e = fixedToFloat(gglMulx(c->fog.density, z))
    [all...]
primitives.cpp 129 // The fog versions...
136 v->fog = c->fog.fog(c, v->eye.z);
147 v->fog = c->fog.fog(c, v->eye.z);
154 v->fog = c->fog.fog(c, v->eye.z)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_maos_vbtmp.h 45 GLfloat (*fog)[4];
146 fog = VB->AttribPtr[_TNL_ATTRIB_FOG]->data;
149 fog = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_FOG];
170 STRIDE_4F(fog, start * fog_stride);
211 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, radeonComputeFogBlendFactor(ctx, fog[0][0]));
212 STRIDE_4F(fog, fog_stride);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_maos_vbtmp.h 45 GLfloat (*fog)[4];
146 fog = VB->AttribPtr[_TNL_ATTRIB_FOG]->data;
149 fog = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_FOG];
170 STRIDE_4F(fog, start * fog_stride);
211 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, radeonComputeFogBlendFactor(ctx, fog[0][0]));
212 STRIDE_4F(fog, fog_stride);
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
ffvertex_prog.c 224 if (ctx->Fog.FogCoordinateSource == GL_FRAGMENT_DEPTH_EXT) {
226 key->fog_distance_mode = translate_fog_distance_mode(ctx->Fog.FogDistanceMode);
1312 struct ureg fog = register_output(p, VERT_RESULT_FOGC); local
    [all...]
attrib.c 40 #include "fog.h"
80 GLboolean Fog;
273 attr->Fog = ctx->Fog.Enabled;
343 memcpy( attr, &ctx->Fog, sizeof(struct gl_fog_attrib) );
526 TEST_AND_UPDATE(ctx->Fog.Enabled, enable->Fog, GL_FOG);
1025 const struct gl_fog_attrib *fog; local
    [all...]
  /external/mesa3d/src/mesa/main/
ffvertex_prog.c 224 if (ctx->Fog.FogCoordinateSource == GL_FRAGMENT_DEPTH_EXT) {
226 key->fog_distance_mode = translate_fog_distance_mode(ctx->Fog.FogDistanceMode);
1312 struct ureg fog = register_output(p, VERT_RESULT_FOGC); local
    [all...]
attrib.c 40 #include "fog.h"
80 GLboolean Fog;
273 attr->Fog = ctx->Fog.Enabled;
343 memcpy( attr, &ctx->Fog, sizeof(struct gl_fog_attrib) );
526 TEST_AND_UPDATE(ctx->Fog.Enabled, enable->Fog, GL_FOG);
1025 const struct gl_fog_attrib *fog; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
r200_state.c 372 * Fog
383 c.i = rmesa->hw.fog.cmd[FOG_C];
384 d.i = rmesa->hw.fog.cmd[FOG_D];
388 if (!ctx->Fog.Enabled)
392 switch (ctx->Fog.Mode) {
395 if (ctx->Fog.Start == ctx->Fog.End) {
400 c.f = ctx->Fog.End/(ctx->Fog.End-ctx->Fog.Start)
453 GLuint fog = rmesa->hw.ctx.cmd[CTX_PP_FOG_COLOR]; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_state.c 372 * Fog
383 c.i = rmesa->hw.fog.cmd[FOG_C];
384 d.i = rmesa->hw.fog.cmd[FOG_D];
388 if (!ctx->Fog.Enabled)
392 switch (ctx->Fog.Mode) {
395 if (ctx->Fog.Start == ctx->Fog.End) {
400 c.f = ctx->Fog.End/(ctx->Fog.End-ctx->Fog.Start)
453 GLuint fog = rmesa->hw.ctx.cmd[CTX_PP_FOG_COLOR]; local
    [all...]

Completed in 462 milliseconds

1 2 3