| 1 |
/* $XFree86$ */ |
| 2 |
/************************************************************************** |
| 3 |
|
| 4 |
Copyright 2002 Tungsten Graphics Inc., Cedar Park, Texas. |
| 5 |
|
| 6 |
All Rights Reserved. |
| 7 |
|
| 8 |
Permission is hereby granted, free of charge, to any person obtaining a |
| 9 |
copy of this software and associated documentation files (the "Software"), |
| 10 |
to deal in the Software without restriction, including without limitation |
| 11 |
on the rights to use, copy, modify, merge, publish, distribute, sub |
| 12 |
license, and/or sell copies of the Software, and to permit persons to whom |
| 13 |
the Software is furnished to do so, subject to the following conditions: |
| 14 |
|
| 15 |
The above copyright notice and this permission notice (including the next |
| 16 |
paragraph) shall be included in all copies or substantial portions of the |
| 17 |
Software. |
| 18 |
|
| 19 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 20 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 |
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
| 22 |
TUNGSTEN GRAPHICS AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, |
| 23 |
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 24 |
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
| 25 |
USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 26 |
|
| 27 |
**************************************************************************/ |
| 28 |
|
| 29 |
/* |
| 30 |
* Authors: |
| 31 |
* Keith Whitwell <[email protected]> |
| 32 |
* |
| 33 |
*/ |
| 34 |
|
| 35 |
#ifndef __T_SAVE_API_H__ |
| 36 |
#define __T_SAVE_API_H__ |
| 37 |
|
| 38 |
#include "t_context.h" |
| 39 |
|
| 40 |
extern GLboolean _tnl_weak_begin( GLcontext *ctx, GLenum mode ); |
| 41 |
|
| 42 |
extern void _tnl_EndList( GLcontext *ctx ); |
| 43 |
extern void _tnl_NewList( GLcontext *ctx, GLuint list, GLenum mode ); |
| 44 |
|
| 45 |
extern void _tnl_EndCallList( GLcontext *ctx ); |
| 46 |
extern void _tnl_BeginCallList( GLcontext *ctx, struct mesa_display_list *list ); |
| 47 |
|
| 48 |
extern void _tnl_SaveFlushVertices( GLcontext *ctx ); |
| 49 |
|
| 50 |
extern void _tnl_save_init( GLcontext *ctx ); |
| 51 |
extern void _tnl_save_destroy( GLcontext *ctx ); |
| 52 |
|
| 53 |
extern void _tnl_loopback_vertex_list( GLcontext *ctx, |
| 54 |
const struct tnl_vertex_list *list ); |
| 55 |
|
| 56 |
extern void _tnl_playback_vertex_list( GLcontext *ctx, void *data ); |
| 57 |
|
| 58 |
#endif |