Searched refs:gglFloatToFixed (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/opengl/libagl/arch-mips/ |
D | fixed_asm.S | 27 .global gglFloatToFixed symbol 28 .ent gglFloatToFixed 29 .type gglFloatToFixed, @function 30 gglFloatToFixed: label 61 .end gglFloatToFixed
|
/frameworks/native/opengl/libagl/ |
D | vertex.cpp | 190 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 …]
|
D | light.cpp | 79 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() 485 gglFloatToFixed(cosinef((M_PI/(180.0f*65536.0f))*param)); in lightx() 645 lightModelx(pname, gglFloatToFixed(param), c); in glLightModelf() 658 lightModelx(pname, gglFloatToFixed(params[0]), c); in glLightModelfv() 667 c->lighting.lightModel.ambient.r = gglFloatToFixed(params[0]); in glLightModelfv() 668 c->lighting.lightModel.ambient.g = gglFloatToFixed(params[1]); in glLightModelfv() [all …]
|
D | fixed_asm.S | 22 .global gglFloatToFixed symbol 23 .type gglFloatToFixed, %function 50 gglFloatToFixed: label
|
D | state.cpp | 251 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()
|
D | array.cpp | 161 v[0] = gglFloatToFixed(p[0]); in fetch2f() 162 v[1] = gglFloatToFixed(p[1]); in fetch2f() 178 v[0] = gglFloatToFixed(p[0]); in fetch3f() 179 v[1] = gglFloatToFixed(p[1]); in fetch3f() 180 v[2] = gglFloatToFixed(p[2]); in fetch3f() 198 v[0] = gglFloatToFixed(p[0]); in fetch4f() 199 v[1] = gglFloatToFixed(p[1]); in fetch4f() 200 v[2] = gglFloatToFixed(p[2]); in fetch4f() 201 v[3] = gglFloatToFixed(p[3]); in fetch4f() 216 v[0] = gglClampx(gglFloatToFixed(p[0])); in fetchClamp4f() [all …]
|
D | texture.cpp | 578 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear); in set_depth_and_fog() 579 GGLfixed f = gglFloatToFixed(c->transforms.vpt.zFar); in set_depth_and_fog() 924 c->current.texture[tmu].S = gglFloatToFixed(s); in glMultiTexCoord4f() 925 c->current.texture[tmu].T = gglFloatToFixed(t); in glMultiTexCoord4f() 926 c->current.texture[tmu].R = gglFloatToFixed(r); in glMultiTexCoord4f() 927 c->current.texture[tmu].Q = gglFloatToFixed(q); in glMultiTexCoord4f() 979 fixed[i] = gglFloatToFixed(params[i]); in glTexEnvfv() 1562 gglFloatToFixed(coords[0]), in glDrawTexfvOES() 1563 gglFloatToFixed(coords[1]), in glDrawTexfvOES() 1564 gglFloatToFixed(coords[2]), in glDrawTexfvOES() [all …]
|
D | fp.cpp | 23 GGLfixed gglFloatToFixed(float v) { in gglFloatToFixed() function
|
D | fp.h | 34 extern "C" GLfixed gglFloatToFixed(float f) __attribute__((const));
|
D | matrix.cpp | 241 *xp++ = isZerof(f) ? 0 : gglFloatToFixed(f); in load() 584 x[I(i,j)] = gglFloatToFixed(r[I(j,i)]); in update_mvit() 611 x[I(i,j)] = gglFloatToFixed(r[I(i,j)]); in update_mvui() 615 x[I(i,j)] = gglFloatToFixed(r[I(j,i)]); in update_mvui() 1105 c->polygonOffset.factor = gglFloatToFixed(factor); in glPolygonOffset() 1106 c->polygonOffset.units = gglFloatToFixed(units); in glPolygonOffset()
|