summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-02-20 11:41:01 +1000
committerDave Airlie <airlied@redhat.com>2015-05-08 10:21:01 +1000
commitc4254ee526145ce9bab227264226f5d6f741ff0e (patch)
treeeda4ffd85f22cc6eb02026f339a847e0990b8a59 /src/mesa/main/dd.h
parentad208d975a6d3aebe14f7c2c16039ee200d8b30c (diff)
downloadexternal_mesa3d-c4254ee526145ce9bab227264226f5d6f741ff0e.zip
external_mesa3d-c4254ee526145ce9bab227264226f5d6f741ff0e.tar.gz
external_mesa3d-c4254ee526145ce9bab227264226f5d6f741ff0e.tar.bz2
mesa/vbo: add support for 64-bit vertex attributes. (v1)
This adds support in the vbo and array code to handle double vertex attributes. v0.2: merge code to handle doubles in vbo layer. v1: don't use v0, merge api_array elt code. Acked-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index a329d9c..d783e34 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1174,6 +1174,19 @@ typedef struct {
void (GLAPIENTRYP VertexAttribP4uiv)( GLuint index, GLenum type,
GLboolean normalized,
const GLuint *value);
+
+ /* GL_ARB_vertex_attrib_64bit / GL 4.1 */
+ void (GLAPIENTRYP VertexAttribL1d)( GLuint index, GLdouble x);
+ void (GLAPIENTRYP VertexAttribL2d)( GLuint index, GLdouble x, GLdouble y);
+ void (GLAPIENTRYP VertexAttribL3d)( GLuint index, GLdouble x, GLdouble y, GLdouble z);
+ void (GLAPIENTRYP VertexAttribL4d)( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+
+
+ void (GLAPIENTRYP VertexAttribL1dv)( GLuint index, const GLdouble *v);
+ void (GLAPIENTRYP VertexAttribL2dv)( GLuint index, const GLdouble *v);
+ void (GLAPIENTRYP VertexAttribL3dv)( GLuint index, const GLdouble *v);
+ void (GLAPIENTRYP VertexAttribL4dv)( GLuint index, const GLdouble *v);
+
} GLvertexformat;