diff options
author | Mathias Fröhlich <[email protected]> | 2017-12-16 10:57:47 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-02-06 21:20:14 +0100 |
commit | 236657842b56e08055a4a9be8def8e440de78b58 (patch) | |
tree | dfd515754af1df7fcb9c1cfcba855967bfbfd352 /src/mesa/tnl/t_rebase.h | |
parent | 2313c33e950a1b17e7787dd8a3b2f1e823d0cfd4 (diff) |
vbo: Move vbo_rebase into its only caller module tnl.
Signed-off-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_rebase.h')
-rw-r--r-- | src/mesa/tnl/t_rebase.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_rebase.h b/src/mesa/tnl/t_rebase.h new file mode 100644 index 00000000000..35175868d5d --- /dev/null +++ b/src/mesa/tnl/t_rebase.h @@ -0,0 +1,39 @@ +/* + * mesa 3-D graphics library + * + * Copyright (C) 1999-2006 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"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef _T_REBASE_H_ +#define _T_REBASE_H_ + +#include "vbo/vbo.h" + +void t_rebase_prims( struct gl_context *ctx, + const struct gl_vertex_array *arrays[], + const struct _mesa_prim *prim, + GLuint nr_prims, + const struct _mesa_index_buffer *ib, + GLuint min_index, + GLuint max_index, + vbo_draw_func draw ); + +#endif |