~ubuntu-branches/ubuntu/quantal/mesa-glw/quantal

« back to all changes in this revision

Viewing changes to src/mesa/main/vtxfmt.h

  • Committer: Bazaar Package Importer
  • Author(s): Morten Kjeldgaard
  • Date: 2008-05-06 16:19:15 UTC
  • Revision ID: james.westby@ubuntu.com-20080506161915-uynz7nftmfixu6bq
Tags: upstream-7.0.3
ImportĀ upstreamĀ versionĀ 7.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
extern void _mesa_init_exec_vtxfmt( GLcontext *ctx );
 
37
 
 
38
extern void _mesa_install_exec_vtxfmt( GLcontext *ctx, const GLvertexformat *vfmt );
 
39
extern void _mesa_install_save_vtxfmt( GLcontext *ctx, const GLvertexformat *vfmt );
 
40
 
 
41
extern void _mesa_restore_exec_vtxfmt( GLcontext *ctx );
 
42
 
 
43
#endif