Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 1 | /** |
| 2 | * \file accum.h |
| 3 | * Accumulation buffer operations. |
| 4 | * |
| 5 | * \if subset |
| 6 | * (No-op) |
| 7 | * |
| 8 | * \endif |
| 9 | */ |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 10 | |
| 11 | /* |
| 12 | * Mesa 3-D graphics library |
Gareth Hughes | 22144ab | 2001-03-12 00:48:37 +0000 | [diff] [blame] | 13 | * Version: 3.5 |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 14 | * |
Gareth Hughes | 22144ab | 2001-03-12 00:48:37 +0000 | [diff] [blame] | 15 | * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 16 | * |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 17 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 18 | * copy of this software and associated documentation files (the "Software"), |
| 19 | * to deal in the Software without restriction, including without limitation |
| 20 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 21 | * and/or sell copies of the Software, and to permit persons to whom the |
| 22 | * Software is furnished to do so, subject to the following conditions: |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 23 | * |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 24 | * The above copyright notice and this permission notice shall be included |
| 25 | * in all copies or substantial portions of the Software. |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 26 | * |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 27 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 28 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 29 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 30 | * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 31 | * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 32 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 33 | */ |
| 34 | |
| 35 | |
Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 36 | |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 37 | #ifndef ACCUM_H |
| 38 | #define ACCUM_H |
| 39 | |
| 40 | |
Jouk Jansen | 5e3bc0c | 2000-11-22 07:32:16 +0000 | [diff] [blame] | 41 | #include "mtypes.h" |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 42 | |
Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 43 | #if _HAVE_FULL_GL |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 44 | |
Kendall Bennett | c40d1dd | 2003-10-21 22:22:17 +0000 | [diff] [blame] | 45 | extern void GLAPIENTRY |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 46 | _mesa_Accum( GLenum op, GLfloat value ); |
| 47 | |
| 48 | |
Kendall Bennett | c40d1dd | 2003-10-21 22:22:17 +0000 | [diff] [blame] | 49 | extern void GLAPIENTRY |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 50 | _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); |
| 51 | |
Keith Whitwell | 6dc8557 | 2003-07-17 13:43:59 +0000 | [diff] [blame] | 52 | extern void |
| 53 | _mesa_init_accum( GLcontext *ctx ); |
| 54 | |
| 55 | #else |
| 56 | |
| 57 | /** No-op */ |
| 58 | #define _mesa_init_accum( c ) ((void)0) |
| 59 | |
| 60 | #endif |
Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame] | 61 | |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 62 | #endif |