17117f1b4Smrg/** 27117f1b4Smrg * \file accum.h 37117f1b4Smrg * Accumulation buffer operations. 47117f1b4Smrg * 57117f1b4Smrg * \if subset 67117f1b4Smrg * (No-op) 77117f1b4Smrg * 87117f1b4Smrg * \endif 97117f1b4Smrg */ 107117f1b4Smrg 117117f1b4Smrg/* 127117f1b4Smrg * Mesa 3-D graphics library 137117f1b4Smrg * 147117f1b4Smrg * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 157117f1b4Smrg * 167117f1b4Smrg * Permission is hereby granted, free of charge, to any person obtaining a 177117f1b4Smrg * copy of this software and associated documentation files (the "Software"), 187117f1b4Smrg * to deal in the Software without restriction, including without limitation 197117f1b4Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 207117f1b4Smrg * and/or sell copies of the Software, and to permit persons to whom the 217117f1b4Smrg * Software is furnished to do so, subject to the following conditions: 227117f1b4Smrg * 237117f1b4Smrg * The above copyright notice and this permission notice shall be included 247117f1b4Smrg * in all copies or substantial portions of the Software. 257117f1b4Smrg * 267117f1b4Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 277117f1b4Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 287117f1b4Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 29af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 30af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 31af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 32af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE. 337117f1b4Smrg */ 347117f1b4Smrg 357117f1b4Smrg 367117f1b4Smrg 377117f1b4Smrg#ifndef ACCUM_H 387117f1b4Smrg#define ACCUM_H 397117f1b4Smrg 403464ebd5Sriastradh#include "main/glheader.h" 417117f1b4Smrg 423464ebd5Sriastradhstruct gl_context; 437117f1b4Smrg 447117f1b4Smrgextern void GLAPIENTRY 457117f1b4Smrg_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 46af69d88dSmrgvoid GLAPIENTRY 47af69d88dSmrg_mesa_Accum( GLenum op, GLfloat value ); 487117f1b4Smrg 49af69d88dSmrgextern void 50af69d88dSmrg_mesa_clear_accum_buffer(struct gl_context *ctx); 514a49301eSmrg 524a49301eSmrgextern void 533464ebd5Sriastradh_mesa_init_accum( struct gl_context *ctx ); 547117f1b4Smrg 554a49301eSmrg#endif /* ACCUM_H */ 56