• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * \file vtxfmt.h
3  *
4  * \author Keith Whitwell <keith@tungstengraphics.com>
5  * \author Gareth Hughes
6  */
7 
8 /*
9  * Mesa 3-D graphics library
10  * Version:  6.1
11  *
12  * Copyright (C) 1999-2004  Brian Paul   All Rights Reserved.
13  *
14  * Permission is hereby granted, free of charge, to any person obtaining a
15  * copy of this software and associated documentation files (the "Software"),
16  * to deal in the Software without restriction, including without limitation
17  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
18  * and/or sell copies of the Software, and to permit persons to whom the
19  * Software is furnished to do so, subject to the following conditions:
20  *
21  * The above copyright notice and this permission notice shall be included
22  * in all copies or substantial portions of the Software.
23  *
24  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
27  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
28  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30  */
31 
32 
33 #ifndef _VTXFMT_H_
34 #define _VTXFMT_H_
35 
36 #include "compiler.h"
37 #include "mfeatures.h"
38 #include "mtypes.h"
39 
40 #if FEATURE_beginend
41 
42 extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
43 extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
44 
45 #else /* FEATURE_beginend */
46 
47 static inline void
_mesa_install_exec_vtxfmt(struct gl_context * ctx,const GLvertexformat * vfmt)48 _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
49 {
50 }
51 
52 static inline void
_mesa_install_save_vtxfmt(struct gl_context * ctx,const GLvertexformat * vfmt)53 _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
54 {
55 }
56 
57 #endif /* FEATURE_beginend */
58 
59 #endif /* _VTXFMT_H_ */
60