• Home
  • Raw
  • Download

Lines Matching refs:GLfloat

54 viewclip_point_xy( const GLfloat v[] )  in viewclip_point_xy()
74 viewclip_point_near_z( const GLfloat v[] ) in viewclip_point_near_z()
93 viewclip_point_far_z( const GLfloat v[] ) in viewclip_point_far_z()
113 userclip_point( struct gl_context *ctx, const GLfloat v[] ) in userclip_point()
118 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] in userclip_point()
142 const GLfloat vertex[4], in shade_rastpos()
143 const GLfloat normal[3], in shade_rastpos()
144 GLfloat Rcolor[4], in shade_rastpos()
145 GLfloat Rspec[4]) in shade_rastpos()
147 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor; in shade_rastpos()
149 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos()
163 GLfloat attenuation = 1.0; in shade_rastpos()
164 GLfloat VP[3]; /* vector from vertex to light pos */ in shade_rastpos()
165 GLfloat n_dot_VP; in shade_rastpos()
166 GLfloat diffuseContrib[3], specularContrib[3]; in shade_rastpos()
175 GLfloat d; in shade_rastpos()
180 d = (GLfloat) LEN_3FV( VP ); in shade_rastpos()
183 GLfloat invd = 1.0F / d; in shade_rastpos()
193 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in shade_rastpos()
199 GLfloat spot = powf(PV_dot_dir, lu->SpotExponent); in shade_rastpos()
221 const GLfloat *h; in shade_rastpos()
222 GLfloat n_dot_h; in shade_rastpos()
227 GLfloat v[3]; in shade_rastpos()
246 GLfloat shine; in shade_rastpos()
247 GLfloat spec_coef; in shade_rastpos()
290 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], in compute_texgen()
291 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) in compute_texgen()
297 GLfloat u[3], two_nu, rx, ry, rz, m, mInv; in compute_texgen()
398 _mesa_RasterPos(struct gl_context *ctx, const GLfloat vObj[4]) in _mesa_RasterPos()
408 GLfloat eye[4], clip[4], ndc[3], d; in _mesa_RasterPos()
409 GLfloat *norm, eyenorm[3]; in _mesa_RasterPos()
410 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in _mesa_RasterPos()
483 const GLfloat *inv = ctx->ModelviewMatrixStack.Top->inv; in _mesa_RasterPos()
510 GLfloat tc[4]; in _mesa_RasterPos()
533 rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in rasterpos()
536 GLfloat p[4]; in rasterpos()
556 rasterpos((GLfloat)x, (GLfloat)y, (GLfloat)0.0, (GLfloat)1.0); in _mesa_RasterPos2d()
560 _mesa_RasterPos2f(GLfloat x, GLfloat y) in _mesa_RasterPos2f()
568 rasterpos((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_RasterPos2i()
580 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_RasterPos3d()
584 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z) in _mesa_RasterPos3f()
592 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_RasterPos3i()
604 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_RasterPos4d()
608 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in _mesa_RasterPos4f()
616 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_RasterPos4i()
628 rasterpos((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_RasterPos2dv()
632 _mesa_RasterPos2fv(const GLfloat *v) in _mesa_RasterPos2fv()
640 rasterpos((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_RasterPos2iv()
652 rasterpos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_RasterPos3dv()
656 _mesa_RasterPos3fv(const GLfloat *v) in _mesa_RasterPos3fv()
664 rasterpos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_RasterPos3iv()
676 rasterpos((GLfloat) v[0], (GLfloat) v[1], in _mesa_RasterPos4dv()
677 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_RasterPos4dv()
681 _mesa_RasterPos4fv(const GLfloat *v) in _mesa_RasterPos4fv()
689 rasterpos((GLfloat) v[0], (GLfloat) v[1], in _mesa_RasterPos4iv()
690 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_RasterPos4iv()
710 window_pos3f(GLfloat x, GLfloat y, GLfloat z) in window_pos3f()
713 GLfloat z2; in window_pos3f()
771 window_pos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in window_pos4f()
782 window_pos4f((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_WindowPos2d()
786 _mesa_WindowPos2f(GLfloat x, GLfloat y) in _mesa_WindowPos2f()
794 window_pos4f((GLfloat) x, (GLfloat) y, 0.0F, 1.0F); in _mesa_WindowPos2i()
806 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_WindowPos3d()
810 _mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z) in _mesa_WindowPos3f()
818 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F); in _mesa_WindowPos3i()
830 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_WindowPos4dMESA()
834 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w) in _mesa_WindowPos4fMESA()
842 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w); in _mesa_WindowPos4iMESA()
854 window_pos4f((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_WindowPos2dv()
858 _mesa_WindowPos2fv(const GLfloat *v) in _mesa_WindowPos2fv()
866 window_pos4f((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F); in _mesa_WindowPos2iv()
878 window_pos4f((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_WindowPos3dv()
882 _mesa_WindowPos3fv(const GLfloat *v) in _mesa_WindowPos3fv()
890 window_pos4f((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F); in _mesa_WindowPos3iv()
902 window_pos4f((GLfloat) v[0], (GLfloat) v[1], in _mesa_WindowPos4dvMESA()
903 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_WindowPos4dvMESA()
907 _mesa_WindowPos4fvMESA(const GLfloat *v) in _mesa_WindowPos4fvMESA()
915 window_pos4f((GLfloat) v[0], (GLfloat) v[1], in _mesa_WindowPos4ivMESA()
916 (GLfloat) v[2], (GLfloat) v[3]); in _mesa_WindowPos4ivMESA()
931 void glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w )
933 GLfloat fx, fy;