mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.
[mesa.git] / src / mesa / main / rastpos.h
index 40ccc9760cd732e41297d5ca2215ebe2250cd5b2..d113906f410b2e94e6afa90ff755d5b204842ad9 100644 (file)
@@ -1,10 +1,13 @@
-/* $Id: rastpos.h,v 1.3 2001/03/12 00:48:38 gareth Exp $ */
+/**
+ * \file rastpos.h
+ * Raster position operations.
+ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  3.5
+ * Version:  4.1
  *
- * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2002  Brian Paul   All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
 #define RASTPOS_H
 
 
-#include "glheader.h"
-
-
-extern void
-_mesa_RasterPos2d(GLdouble x, GLdouble y);
-
-extern void
-_mesa_RasterPos2f(GLfloat x, GLfloat y);
-
-extern void
-_mesa_RasterPos2i(GLint x, GLint y);
-
-extern void
-_mesa_RasterPos2s(GLshort x, GLshort y);
-
-extern void
-_mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z);
-
-extern void
-_mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z);
-
-extern void
-_mesa_RasterPos3i(GLint x, GLint y, GLint z);
-
-extern void
-_mesa_RasterPos3s(GLshort x, GLshort y, GLshort z);
-
-extern void
-_mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
-
-extern void
-_mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
-
-extern void
-_mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w);
+#include "compiler.h"
+#include "mfeatures.h"
 
-extern void
-_mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
+struct _glapi_table;
+struct gl_context;
 
-extern void
-_mesa_RasterPos2dv(const GLdouble *v);
+#if FEATURE_rastpos
 
 extern void
-_mesa_RasterPos2fv(const GLfloat *v);
+_mesa_init_rastpos_dispatch(struct _glapi_table *disp);
 
-extern void
-_mesa_RasterPos2iv(const GLint *v);
+#else /* FEATURE_rastpos */
 
-extern void
-_mesa_RasterPos2sv(const GLshort *v);
+static INLINE void
+_mesa_init_rastpos_dispatch(struct _glapi_table *disp)
+{
+}
 
-extern void
-_mesa_RasterPos3dv(const GLdouble *v);
+#endif /* FEATURE_rastpos */
 
-extern void
-_mesa_RasterPos3fv(const GLfloat *v);
-
-extern void
-_mesa_RasterPos3iv(const GLint *v);
-
-extern void
-_mesa_RasterPos3sv(const GLshort *v);
-
-extern void
-_mesa_RasterPos4dv(const GLdouble *v);
-
-extern void
-_mesa_RasterPos4fv(const GLfloat *v);
-
-extern void
-_mesa_RasterPos4iv(const GLint *v);
-
-extern void
-_mesa_RasterPos4sv(const GLshort *v);
+extern void 
+_mesa_init_rastpos(struct gl_context *ctx);
 
+/*@}*/
 
-#endif
+#endif /* RASTPOS_H */