Home
last modified time | relevance | path

Searched refs:fog (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/libagl/
Dlight.cpp96 c->fog.mode = GL_EXP; in ogles_init_light()
97 c->fog.fog = fog_exp; in ogles_init_light()
98 c->fog.density = 0x10000; in ogles_init_light()
99 c->fog.end = 0x10000; in ogles_init_light()
100 c->fog.invEndMinusStart = 0x10000; in ogles_init_light()
121 return clampF(gglMulx((c->fog.end - ((z<0)?-z:z)), c->fog.invEndMinusStart)); in fog_linear()
125 const float e = fixedToFloat(gglMulx(c->fog.density, ((z<0)?-z:z))); in fog_exp()
130 const float e = fixedToFloat(gglMulx(c->fog.density, z)); in fog_exp2()
584 c->fog.density = param; in fogx()
590 c->fog.start = param; in fogx()
[all …]
Dprimitives.cpp136 v->fog = c->fog.fog(c, v->eye.z); in lightVertexDarkSmoothFog()
147 v->fog = c->fog.fog(c, v->eye.z); in lightVertexDarkFlatFog()
154 v->fog = c->fog.fog(c, v->eye.z); in lightVertexSmoothFog()
474 v->fog = c->fog.fog(c, v->eye.z); in primitive_point()
514 itf[0] = v->fog; in primitive_point()
687 lerp.iterators1616(itf, v0->fog, v1->fog, v2->fog); in lerp_triangle()
Dcontext.h142 GLfixed fog; member
262 GLfixed (*fog)(ogles_context_t* c, GLfixed z); member
626 fog_t fog; member
Darray.cpp1041 nv->fog = gglMulAddx(t, s->fog - p->fog, p->fog, 28); in clipVertex()
Dtexture.cpp596 iterators[0] = c->fog.fog(c, Zw); in set_depth_and_fog()