Lines Matching refs:GLfloat

52 viewclip_point_xy( const GLfloat v[] )  in viewclip_point_xy()
72 viewclip_point_z( const GLfloat v[] ) in viewclip_point_z()
92 userclip_point( struct gl_context *ctx, const GLfloat v[] ) in userclip_point()
97 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] in userclip_point()
121 const GLfloat vertex[4], in shade_rastpos()
122 const GLfloat normal[3], in shade_rastpos()
123 GLfloat Rcolor[4], in shade_rastpos()
124 GLfloat Rspec[4]) in shade_rastpos()
126 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor; in shade_rastpos()
128 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos()
139 GLfloat attenuation = 1.0; in shade_rastpos()
140 GLfloat VP[3]; /* vector from vertex to light pos */ in shade_rastpos()
141 GLfloat n_dot_VP; in shade_rastpos()
142 GLfloat diffuseContrib[3], specularContrib[3]; in shade_rastpos()
151 GLfloat d; in shade_rastpos()
156 d = (GLfloat) LEN_3FV( VP ); in shade_rastpos()
159 GLfloat invd = 1.0F / d; in shade_rastpos()
169 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in shade_rastpos()
175 GLfloat spot = powf(PV_dot_dir, light->SpotExponent); in shade_rastpos()
197 const GLfloat *h; in shade_rastpos()
198 GLfloat n_dot_h; in shade_rastpos()
203 GLfloat v[3]; in shade_rastpos()
222 GLfloat shine; in shade_rastpos()
223 GLfloat spec_coef; in shade_rastpos()
266 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], in compute_texgen()
267 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) in compute_texgen()
272 GLfloat u[3], two_nu, rx, ry, rz, m, mInv; in compute_texgen()
373 _mesa_RasterPos(struct gl_context *ctx, const GLfloat vObj[4]) in _mesa_RasterPos()
381 GLfloat eye[4], clip[4], ndc[3], d; in _mesa_RasterPos()
382 GLfloat *norm, eyenorm[3]; in _mesa_RasterPos()
383 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in _mesa_RasterPos()
438 const GLfloat *inv = ctx->ModelviewMatrixStack.Top->inv; in _mesa_RasterPos()
465 GLfloat tc[4]; in _mesa_RasterPos()
488 rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in rasterpos()
491 GLfloat p[4]; in rasterpos()
511 rasterpos((GLfloat)x, (GLfloat)y, (GLfloat)0.0, (GLfloat)1.0); in _mesa_RasterPos2d()
515 _mesa_RasterPos2f(GLfloat x, GLfloat y) in _mesa_RasterPos2f()
523 rasterpos((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_RasterPos2i()
535 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_RasterPos3d()
539 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z) in _mesa_RasterPos3f()
547 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_RasterPos3i()
559 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_RasterPos4d()
563 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in _mesa_RasterPos4f()
571 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_RasterPos4i()
583 rasterpos((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_RasterPos2dv()
587 _mesa_RasterPos2fv(const GLfloat *v) in _mesa_RasterPos2fv()
595 rasterpos((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_RasterPos2iv()
607 rasterpos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_RasterPos3dv()
611 _mesa_RasterPos3fv(const GLfloat *v) in _mesa_RasterPos3fv()
619 rasterpos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_RasterPos3iv()
631 rasterpos((GLfloat) v[0], (GLfloat) v[1], in _mesa_RasterPos4dv()
632 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_RasterPos4dv()
636 _mesa_RasterPos4fv(const GLfloat *v) in _mesa_RasterPos4fv()
644 rasterpos((GLfloat) v[0], (GLfloat) v[1], in _mesa_RasterPos4iv()
645 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_RasterPos4iv()
665 window_pos3f(GLfloat x, GLfloat y, GLfloat z) in window_pos3f()
668 GLfloat z2; in window_pos3f()
726 window_pos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in window_pos4f()
737 window_pos4f((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_WindowPos2d()
741 _mesa_WindowPos2f(GLfloat x, GLfloat y) in _mesa_WindowPos2f()
749 window_pos4f((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_WindowPos2i()
761 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_WindowPos3d()
765 _mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z) in _mesa_WindowPos3f()
773 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_WindowPos3i()
785 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_WindowPos4dMESA()
789 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in _mesa_WindowPos4fMESA()
797 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_WindowPos4iMESA()
809 window_pos4f((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_WindowPos2dv()
813 _mesa_WindowPos2fv(const GLfloat *v) in _mesa_WindowPos2fv()
821 window_pos4f((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_WindowPos2iv()
833 window_pos4f((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_WindowPos3dv()
837 _mesa_WindowPos3fv(const GLfloat *v) in _mesa_WindowPos3fv()
845 window_pos4f((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_WindowPos3iv()
857 window_pos4f((GLfloat) v[0], (GLfloat) v[1], in _mesa_WindowPos4dvMESA()
858 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_WindowPos4dvMESA()
862 _mesa_WindowPos4fvMESA(const GLfloat *v) in _mesa_WindowPos4fvMESA()
870 window_pos4f((GLfloat) v[0], (GLfloat) v[1], in _mesa_WindowPos4ivMESA()
871 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_WindowPos4ivMESA()
886 void glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w )
888 GLfloat fx, fy;