Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1901 serge 1
/**
2
 * \file vtxfmt.h
3
 *
4
 * \author Keith Whitwell 
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 "mtypes.h"
38
 
39
#if FEATURE_beginend
40
 
41
extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
42
extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
43
 
44
#else /* FEATURE_beginend */
45
 
46
static INLINE void
47
_mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
48
{
49
}
50
 
51
static INLINE void
52
_mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
53
{
54
}
55
 
56
#endif /* FEATURE_beginend */
57
 
58
#endif /* _VTXFMT_H_ */