blob: ce92688a5b980ac74edbe6c02ddabc2dc9c0f67e [file] [log] [blame]
Keith Whitwell6dc85572003-07-17 13:43:59 +00001/**
2 * \file accum.h
3 * Accumulation buffer operations.
4 *
5 * \if subset
6 * (No-op)
7 *
8 * \endif
9 */
jtgafb833d1999-08-19 00:55:39 +000010
11/*
12 * Mesa 3-D graphics library
Gareth Hughes22144ab2001-03-12 00:48:37 +000013 * Version: 3.5
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000014 *
Gareth Hughes22144ab2001-03-12 00:48:37 +000015 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000016 *
jtgafb833d1999-08-19 00:55:39 +000017 * 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 Jansen5e3bc0c2000-11-22 07:32:16 +000023 *
jtgafb833d1999-08-19 00:55:39 +000024 * The above copyright notice and this permission notice shall be included
25 * in all copies or substantial portions of the Software.
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000026 *
jtgafb833d1999-08-19 00:55:39 +000027 * 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 Whitwell6dc85572003-07-17 13:43:59 +000036
jtgafb833d1999-08-19 00:55:39 +000037#ifndef ACCUM_H
38#define ACCUM_H
39
40
Jouk Jansen5e3bc0c2000-11-22 07:32:16 +000041#include "mtypes.h"
jtgafb833d1999-08-19 00:55:39 +000042
Keith Whitwell6dc85572003-07-17 13:43:59 +000043#if _HAVE_FULL_GL
jtgafb833d1999-08-19 00:55:39 +000044
Kendall Bennettc40d1dd2003-10-21 22:22:17 +000045extern void GLAPIENTRY
Brian Paulfbd8f211999-11-11 01:22:25 +000046_mesa_Accum( GLenum op, GLfloat value );
47
48
Kendall Bennettc40d1dd2003-10-21 22:22:17 +000049extern void GLAPIENTRY
Brian Paulfbd8f211999-11-11 01:22:25 +000050_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
51
Keith Whitwell6dc85572003-07-17 13:43:59 +000052extern 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 Paulfbd8f211999-11-11 01:22:25 +000061
jtgafb833d1999-08-19 00:55:39 +000062#endif