/external/mesa3d/src/mesa/state_tracker/ |
st_atifs_to_tgsi.c | 598 /* we may need fog */ 601 /* we always have the ATI_fs constants, and the fog params */ 611 prog->arb.NumParameters = MAX_NUM_FRAGMENT_CONSTANTS_ATI + 2; /* 2 state variables for fog */ 674 if (ctx->key->fog) { 675 /* add a new temp for the fog factor */ 691 } else if (ctx->key->fog && current_inst->Instruction.Opcode == TGSI_OPCODE_MOV && 706 /* should never be reached, because fog coord input is always declared */ 711 /* compute the 1 component fog factor f */ 712 if (ctx->key->fog == 1) { 728 } else if (ctx->key->fog == 2) [all...] |
st_atom_shader.c | 57 /** Compress the fog function enums into a 2-bit value */ 137 if (st->ctx->Fog.Enabled) { 138 key.fog = translate_fog_mode(st->ctx->Fog.Mode);
|
st_program.h | 106 GLuint fog:2; member in struct:st_fp_variant_key
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_fs.c | 68 fs_inputs->fog = i; 137 if (inputs->fog != ATTR_UNUSED) { 138 allocate(mydata, inputs->fog, reg++);
|
/frameworks/native/opengl/libagl/ |
context.h | 143 GLfixed fog; member in struct:android::gl::vertex_t 254 // fog 263 GLfixed (*fog)(ogles_context_t* c, GLfixed z); member in struct:android::gl::fog_t 627 fog_t fog; member in struct:android::gl::ogles_context_t
|
array.cpp | 1039 nv->fog = gglMulAddx(t, s->fog - p->fog, p->fog, 28); [all...] |
/external/swiftshader/src/Renderer/ |
QuadRasterizer.cpp | 257 if(state.fog.component) 261 if(!state.fog.flat)
|
Renderer.hpp | 160 PixelProcessor::Fog fog; member in struct:sw::DrawData
|
/external/swiftshader/src/Shader/ |
PixelRoutine.cpp | 185 if(state.fog.component) 187 f = interpolate(xxxx, Df, rhw, primitive + OFFSET(Primitive,f), state.fog.flat & 0x01, state.perspective, false); 585 void PixelRoutine::fogBlend(Vector4f &c0, Float4 &fog) 594 pixelFog(fog); 596 fog = Min(fog, Float4(1.0f)); 597 fog = Max(fog, Float4(0.0f)); 600 c0.x -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[0])); 601 c0.y -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[1])) [all...] |
PixelProgram.hpp | 54 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]);
|
PixelPipeline.cpp | 302 void PixelPipeline::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) 340 fogBlend(current, fog); 361 PixelRoutine::fogBlend(oC, fog); [all...] |
VertexPipeline.cpp | 515 o[Fog].x = o[C1].w; 519 o[Fog].x = Float4(0.0f); 523 o[Fog].x = f * *Pointer<Float4>(data + OFFSET(DrawData,fog.scale)) + *Pointer<Float4>(data + OFFSET(DrawData,fog.offset)); 526 o[Fog].x = exponential2(f * *Pointer<Float4>(data + OFFSET(DrawData,fog.densityE)), true); 529 o[Fog].x = exponential2((f * f) * *Pointer<Float4>(data + OFFSET(DrawData,fog.density2E)), true);
|
/external/mesa3d/src/mapi/glapi/gen/ |
gl_genexec.py | 81 #include "main/fog.h"
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_context.h | 254 /* Fog 324 struct radeon_state_atom fog; member in struct:r100_hw_state
|
radeon_maos_arrays.c | 236 if (!rmesa->tcl.fog.buf)
|
radeon_state.c | 315 * Fog 327 if (!ctx->Fog.Enabled) 331 switch (ctx->Fog.Mode) { 348 if (!ctx->Fog.Enabled) 350 c.i = rmesa->hw.fog.cmd[FOG_C]; 351 d.i = rmesa->hw.fog.cmd[FOG_D]; 352 switch (ctx->Fog.Mode) { 355 /* While this is the opposite sign from the DDK, it makes the fog test 358 d.f = -ctx->Fog.Density; 362 d.f = -(ctx->Fog.Density * ctx->Fog.Density) [all...] |
radeon_state_init.c | 212 CHECK( fog_add4, ctx->Fog.Enabled, 4 ) 234 TCL_CHECK( tcl_eyespace_or_fog_add4, ctx->_NeedEyeCoords || ctx->Fog.Enabled, 4 ) 549 ALLOC_STATE( fog, fog_add4, FOG_STATE_SIZE, "FOG/fog", 1 ); 625 rmesa->hw.fog.cmd[FOG_CMD_0] = 654 rmesa->hw.fog.emit = vec_emit; 676 /* this bit unused for vertex fog */ [all...] |
radeon_ioctl.c | 93 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.fog);
|
/system/core/libpixelflinger/ |
pixelflinger.cpp | 284 c->state.fog.color[GGLFormat::ALPHA]= 0xFF; // unused 285 c->state.fog.color[GGLFormat::RED] = (r - (r>>8))>>8; 286 c->state.fog.color[GGLFormat::GREEN]= (g - (g>>8))>>8; 287 c->state.fog.color[GGLFormat::BLUE] = (b - (b>>8))>>8;
|
/system/core/libpixelflinger/codeflinger/ |
blending.cpp | 37 if (mInfo[component].fog) { 39 comment("fog"); 49 immed12_pre(GGL_OFFSETOF(state.fog.color[component]))); 54 // clamp fog factor (TODO: see if there is a way to guarantee
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_context.h | 65 additional instr due to instr/attr, 3 for fog */ 396 /* Fog 504 struct radeon_state_atom fog; member in struct:r200_hw_state
|
r200_cmdbuf.c | 79 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.fog );
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
ggl_context.h | 519 fog_state_t fog; member in struct:android::state_t
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_ff.c | 59 uint32_t fog : 1; member in struct:nine_ff_vs_key::__anon30206::__anon30207 112 uint32_t fog : 1; /* for vFog coming from VS */ member in struct:nine_ff_ps_key::__anon30208::__anon30209 423 if (key->fog || key->passthrough & (1 << NINE_DECLUSAGE_FOG)) { [all...] |
/external/mesa3d/src/mesa/program/ |
program_lexer.l | 250 {dot}fog { return FOG; }
|