15ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul/*
25ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * Mesa 3-D graphics library
35ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * Version:  7.1
45ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul *
55ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
65ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul *
75ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * Permission is hereby granted, free of charge, to any person obtaining a
85ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * copy of this software and associated documentation files (the "Software"),
95ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * to deal in the Software without restriction, including without limitation
105ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * the rights to use, copy, modify, merge, publish, distribute, sublicense,
115ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * and/or sell copies of the Software, and to permit persons to whom the
125ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * Software is furnished to do so, subject to the following conditions:
135ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul *
145ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * The above copyright notice and this permission notice shall be included
155ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * in all copies or substantial portions of the Software.
165ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul *
175ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
185ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
195ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
205ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
215ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
225ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
235ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul */
245ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
255ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
265ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul#ifndef CLEAR_H
275ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul#define CLEAR_H
285ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
295ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
307e54c4a646801cbe8f2310bf516c32faa35eb971Vinson Lee#include "glheader.h"
315ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
325ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
335ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paulextern void GLAPIENTRY
345ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul_mesa_ClearIndex( GLfloat c );
355ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
365ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paulextern void GLAPIENTRY
375ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul_mesa_ClearColor( GLclampf red, GLclampf green,
385ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul                  GLclampf blue, GLclampf alpha );
395ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
405ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paulextern void GLAPIENTRY
41a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paul_mesa_ClearColorIiEXT(GLint r, GLint g, GLint b, GLint a);
42a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paul
43a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paulextern void GLAPIENTRY
44a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paul_mesa_ClearColorIuiEXT(GLuint r, GLuint g, GLuint b, GLuint a);
45a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paul
46a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paul
47a0bc8eeb3224eec1e713fb9885f5d02c21b30c14Brian Paulextern void GLAPIENTRY
485ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul_mesa_Clear( GLbitfield mask );
495ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
505ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul
512b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paulextern void GLAPIENTRY
522b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul_mesa_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
532b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul
542b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paulextern void GLAPIENTRY
552b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul_mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value);
562b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul
572b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paulextern void GLAPIENTRY
582b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul_mesa_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value);
592b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul
602b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paulextern void GLAPIENTRY
612b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul_mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer,
622b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul                    GLfloat depth, GLint stencil);
632b5ece5746585fd1b6ffd4768763dfc5709699abBrian Paul
645ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul#endif
65