diff options
author | Mathias Fröhlich <[email protected]> | 2018-04-01 20:18:36 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-05-10 07:06:16 +0200 |
commit | f6606830271192dc0232b54b776ec263235c0688 (patch) | |
tree | 1db22597263e54dc38ca1dd991bedcc365f5ee66 /src/mesa/main | |
parent | 881d2fcafaddd391b03753173d126148c9dafbcf (diff) |
mesa/vbo/tnl: Move gl_vertex_array related stuff to tnl.
The only remaining users of gl_vertex_array are tnl based
drivers. So move everything related to that into tnl and
rename it accordingly.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 14 | ||||
-rw-r--r-- | src/mesa/main/varray.h | 12 |
2 files changed, 0 insertions, 26 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 0b55a510b08..2ef12a444ea 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1500,20 +1500,6 @@ struct gl_vertex_buffer_binding /** - * Vertex array information which is derived from gl_array_attributes - * and gl_vertex_buffer_binding information. Used by the VBO module and - * device drivers. - */ -struct gl_vertex_array -{ - /** Vertex attribute array */ - const struct gl_array_attributes *VertexAttrib; - /** Vertex buffer binding */ - const struct gl_vertex_buffer_binding *BufferBinding; -}; - - -/** * A representation of "Vertex Array Objects" (VAOs) from OpenGL 3.1+ / * the GL_ARB_vertex_array_object extension. */ diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index 6ab55ed36ae..1f01fdd5b10 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -449,18 +449,6 @@ _mesa_VertexArrayBindingDivisor(GLuint vaobj, GLuint bindingIndex, GLuint divisor); -/** - * Shallow copy one vertex array to another. - */ -static inline void -_mesa_copy_vertex_array(struct gl_vertex_array *dst, - const struct gl_vertex_array *src) -{ - dst->VertexAttrib = src->VertexAttrib; - dst->BufferBinding = src->BufferBinding; -} - - extern void _mesa_copy_vertex_attrib_array(struct gl_context *ctx, struct gl_array_attributes *dst, |