Home
last modified time | relevance | path

Searched refs:gglFloatToFixed (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/opengl/libagl/arch-mips/
Dfixed_asm.S27 .global gglFloatToFixed symbol
28 .ent gglFloatToFixed
29 .type gglFloatToFixed, @function
30 gglFloatToFixed: label
61 .end gglFloatToFixed
/frameworks/native/opengl/libagl/
Dvertex.cpp190 c->current.color.r = gglFloatToFixed(r); in glColor4f()
192 c->current.color.g = gglFloatToFixed(g); in glColor4f()
194 c->current.color.b = gglFloatToFixed(b); in glColor4f()
196 c->current.color.a = gglFloatToFixed(a); in glColor4f()
216 c->currentNormal.x = gglFloatToFixed(x); in glNormal3f()
217 c->currentNormal.y = gglFloatToFixed(y); in glNormal3f()
218 c->currentNormal.z = gglFloatToFixed(z); in glNormal3f()
234 gglFloatToFixed(equ[0]), in glClipPlanef()
235 gglFloatToFixed(equ[1]), in glClipPlanef()
236 gglFloatToFixed(equ[2]), in glClipPlanef()
[all …]
Dlight.cpp79 c->lighting.front.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
83 c->lighting.front.diffuse.b = gglFloatToFixed(0.8f); in ogles_init_light()
90 c->lighting.lightModel.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
126 return clampF(gglFloatToFixed(fastexpf(-e))); in fog_exp()
131 return clampF(gglFloatToFixed(fastexpf(-e*e))); in fog_exp2()
486 gglFloatToFixed(cosinef((M_PI/(180.0f*65536.0f))*param)); in lightx()
646 lightModelx(pname, gglFloatToFixed(param), c); in glLightModelf()
659 lightModelx(pname, gglFloatToFixed(params[0]), c); in glLightModelfv()
668 c->lighting.lightModel.ambient.r = gglFloatToFixed(params[0]); in glLightModelfv()
669 c->lighting.lightModel.ambient.g = gglFloatToFixed(params[1]); in glLightModelfv()
[all …]
Dfixed_asm.S22 .global gglFloatToFixed symbol
23 .type gglFloatToFixed, %function
50 gglFloatToFixed: label
Dstate.cpp251 glAlphaFuncx(func, gglFloatToFixed(ref)); in glAlphaFunc()
492 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size)); in glPointSize()
514 c->line.width = TRI_FROM_FIXED(gglFloatToFixed(width)); in glLineWidth()
578 gglFloatToFixed(r), in glClearColor()
579 gglFloatToFixed(g), in glClearColor()
580 gglFloatToFixed(b), in glClearColor()
581 gglFloatToFixed(a)); in glClearColor()
592 c->rasterizer.procs.clearDepthx(c, gglFloatToFixed(depth)); in glClearDepthf()
Darray.cpp164 v[0] = gglFloatToFixed(p[0]); in fetch2f()
165 v[1] = gglFloatToFixed(p[1]); in fetch2f()
181 v[0] = gglFloatToFixed(p[0]); in fetch3f()
182 v[1] = gglFloatToFixed(p[1]); in fetch3f()
183 v[2] = gglFloatToFixed(p[2]); in fetch3f()
201 v[0] = gglFloatToFixed(p[0]); in fetch4f()
202 v[1] = gglFloatToFixed(p[1]); in fetch4f()
203 v[2] = gglFloatToFixed(p[2]); in fetch4f()
204 v[3] = gglFloatToFixed(p[3]); in fetch4f()
219 v[0] = gglClampx(gglFloatToFixed(p[0])); in fetchClamp4f()
[all …]
Dtexture.cpp589 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear); in set_depth_and_fog()
590 GGLfixed f = gglFloatToFixed(c->transforms.vpt.zFar); in set_depth_and_fog()
935 c->current.texture[tmu].S = gglFloatToFixed(s); in glMultiTexCoord4f()
936 c->current.texture[tmu].T = gglFloatToFixed(t); in glMultiTexCoord4f()
937 c->current.texture[tmu].R = gglFloatToFixed(r); in glMultiTexCoord4f()
938 c->current.texture[tmu].Q = gglFloatToFixed(q); in glMultiTexCoord4f()
990 fixed[i] = gglFloatToFixed(params[i]); in glTexEnvfv()
1575 gglFloatToFixed(coords[0]), in glDrawTexfvOES()
1576 gglFloatToFixed(coords[1]), in glDrawTexfvOES()
1577 gglFloatToFixed(coords[2]), in glDrawTexfvOES()
[all …]
Dfp.cpp23 GGLfixed gglFloatToFixed(float v) { in gglFloatToFixed() function
Dmatrix.cpp242 *xp++ = isZerof(f) ? 0 : gglFloatToFixed(f); in load()
595 x[I(i,j)] = gglFloatToFixed(r[I(j,i)]); in update_mvit()
622 x[I(i,j)] = gglFloatToFixed(r[I(i,j)]); in update_mvui()
626 x[I(i,j)] = gglFloatToFixed(r[I(j,i)]); in update_mvui()
1116 c->polygonOffset.factor = gglFloatToFixed(factor); in glPolygonOffset()
1117 c->polygonOffset.units = gglFloatToFixed(units); in glPolygonOffset()
Dfp.h34 extern "C" GLfixed gglFloatToFixed(float f) __attribute__((const));