jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Mesa 3-D graphics library |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 3 | * |
Brian | 145d762 | 2007-08-16 10:05:00 +0100 | [diff] [blame] | 4 | * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 5 | * |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | * copy of this software and associated documentation files (the "Software"), |
| 8 | * to deal in the Software without restriction, including without limitation |
| 9 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 10 | * and/or sell copies of the Software, and to permit persons to whom the |
| 11 | * Software is furnished to do so, subject to the following conditions: |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 12 | * |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 13 | * The above copyright notice and this permission notice shall be included |
| 14 | * in all copies or substantial portions of the Software. |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 15 | * |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 17 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
Kenneth Graunke | 3d8d5b2 | 2013-04-21 13:46:48 -0700 | [diff] [blame] | 19 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 20 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 21 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 22 | * OTHER DEALINGS IN THE SOFTWARE. |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 25 | #ifndef ATTRIB_H |
Brian Paul | 6a0db56 | 2003-06-12 16:01:42 +0000 | [diff] [blame] | 26 | #define ATTRIB_H |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 27 | |
| 28 | |
Vinson Lee | 42a8af9 | 2010-11-07 19:49:12 -0800 | [diff] [blame] | 29 | #include "glheader.h" |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 30 | |
Vinson Lee | 42a8af9 | 2010-11-07 19:49:12 -0800 | [diff] [blame] | 31 | struct _glapi_table; |
| 32 | struct gl_context; |
Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 33 | |
Kendall Bennett | c40d1dd | 2003-10-21 22:22:17 +0000 | [diff] [blame] | 34 | extern void GLAPIENTRY |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 35 | _mesa_PushAttrib( GLbitfield mask ); |
| 36 | |
Kendall Bennett | c40d1dd | 2003-10-21 22:22:17 +0000 | [diff] [blame] | 37 | extern void GLAPIENTRY |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 38 | _mesa_PopAttrib( void ); |
| 39 | |
Kendall Bennett | c40d1dd | 2003-10-21 22:22:17 +0000 | [diff] [blame] | 40 | extern void GLAPIENTRY |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 41 | _mesa_PushClientAttrib( GLbitfield mask ); |
| 42 | |
Kendall Bennett | c40d1dd | 2003-10-21 22:22:17 +0000 | [diff] [blame] | 43 | extern void GLAPIENTRY |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 44 | _mesa_PopClientAttrib( void ); |
| 45 | |
Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 46 | extern void |
Kristian Høgsberg | f9995b3 | 2010-10-12 12:26:10 -0400 | [diff] [blame] | 47 | _mesa_init_attrib( struct gl_context *ctx ); |
Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 48 | |
Brian | 145d762 | 2007-08-16 10:05:00 +0100 | [diff] [blame] | 49 | extern void |
Kristian Høgsberg | f9995b3 | 2010-10-12 12:26:10 -0400 | [diff] [blame] | 50 | _mesa_free_attrib_data( struct gl_context *ctx ); |
Brian | 145d762 | 2007-08-16 10:05:00 +0100 | [diff] [blame] | 51 | |
Chia-I Wu | 2b36db4 | 2009-09-07 18:20:10 +0800 | [diff] [blame] | 52 | #endif /* ATTRIB_H */ |