accum.h revision c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c
16dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell/** 26dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * \file accum.h 36dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * Accumulation buffer operations. 46dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * 56dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * \if subset 66dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * (No-op) 76dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * 86dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * \endif 96dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell */ 10afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 11afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 12afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Mesa 3-D graphics library 1322144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * Version: 3.5 145e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 1522144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 165e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 17afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Permission is hereby granted, free of charge, to any person obtaining a 18afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * copy of this software and associated documentation files (the "Software"), 19afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * to deal in the Software without restriction, including without limitation 20afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 21afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * and/or sell copies of the Software, and to permit persons to whom the 22afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Software is furnished to do so, subject to the following conditions: 235e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 24afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * The above copyright notice and this permission notice shall be included 25afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * in all copies or substantial portions of the Software. 265e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 27afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 28afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 29afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 31afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 32afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 33afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 34afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 35afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 366dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell 37afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#ifndef ACCUM_H 38afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define ACCUM_H 39afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 40afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 415e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen#include "mtypes.h" 42afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 436dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell#if _HAVE_FULL_GL 44afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 45c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8cKendall Bennettextern void GLAPIENTRY 46fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul_mesa_Accum( GLenum op, GLfloat value ); 47afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 48afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 49c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8cKendall Bennettextern void GLAPIENTRY 50fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 51afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 526dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwellextern void 536dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell_mesa_init_accum( GLcontext *ctx ); 546dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell 556dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell#else 566dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell 576dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell/** No-op */ 586dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell#define _mesa_init_accum( c ) ((void)0) 596dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell 606dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell#endif 61afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 62afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 63