173f96c51052bf5233191d852ef463462306bf1d5Brian/************************************************************************** 273f96c51052bf5233191d852ef463462306bf1d5Brian * 373f96c51052bf5233191d852ef463462306bf1d5Brian * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas. 473f96c51052bf5233191d852ef463462306bf1d5Brian * All Rights Reserved. 573f96c51052bf5233191d852ef463462306bf1d5Brian * 673f96c51052bf5233191d852ef463462306bf1d5Brian * Permission is hereby granted, free of charge, to any person obtaining a 773f96c51052bf5233191d852ef463462306bf1d5Brian * copy of this software and associated documentation files (the 873f96c51052bf5233191d852ef463462306bf1d5Brian * "Software"), to deal in the Software without restriction, including 973f96c51052bf5233191d852ef463462306bf1d5Brian * without limitation the rights to use, copy, modify, merge, publish, 1073f96c51052bf5233191d852ef463462306bf1d5Brian * distribute, sub license, and/or sell copies of the Software, and to 1173f96c51052bf5233191d852ef463462306bf1d5Brian * permit persons to whom the Software is furnished to do so, subject to 1273f96c51052bf5233191d852ef463462306bf1d5Brian * the following conditions: 1373f96c51052bf5233191d852ef463462306bf1d5Brian * 1473f96c51052bf5233191d852ef463462306bf1d5Brian * The above copyright notice and this permission notice (including the 1573f96c51052bf5233191d852ef463462306bf1d5Brian * next paragraph) shall be included in all copies or substantial portions 1673f96c51052bf5233191d852ef463462306bf1d5Brian * of the Software. 1773f96c51052bf5233191d852ef463462306bf1d5Brian * 1873f96c51052bf5233191d852ef463462306bf1d5Brian * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1973f96c51052bf5233191d852ef463462306bf1d5Brian * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 2073f96c51052bf5233191d852ef463462306bf1d5Brian * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 2173f96c51052bf5233191d852ef463462306bf1d5Brian * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR 2273f96c51052bf5233191d852ef463462306bf1d5Brian * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 2373f96c51052bf5233191d852ef463462306bf1d5Brian * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 2473f96c51052bf5233191d852ef463462306bf1d5Brian * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2573f96c51052bf5233191d852ef463462306bf1d5Brian * 2673f96c51052bf5233191d852ef463462306bf1d5Brian **************************************************************************/ 2773f96c51052bf5233191d852ef463462306bf1d5Brian 2873f96c51052bf5233191d852ef463462306bf1d5Brian/* Author: 2973f96c51052bf5233191d852ef463462306bf1d5Brian * Brian Paul 3073f96c51052bf5233191d852ef463462306bf1d5Brian */ 3173f96c51052bf5233191d852ef463462306bf1d5Brian 3273f96c51052bf5233191d852ef463462306bf1d5Brian#ifndef SP_CLEAR_H 3373f96c51052bf5233191d852ef463462306bf1d5Brian#define SP_CLEAR_H 3473f96c51052bf5233191d852ef463462306bf1d5Brian 3573f96c51052bf5233191d852ef463462306bf1d5Brianstruct pipe_context; 3673f96c51052bf5233191d852ef463462306bf1d5Brian 3773f96c51052bf5233191d852ef463462306bf1d5Brianextern void 386dd284f7c8fac22f64c13fdf9909094f5ec59086Dave Airliesoftpipe_clear(struct pipe_context *pipe, unsigned buffers, 396dd284f7c8fac22f64c13fdf9909094f5ec59086Dave Airlie const union pipe_color_union *color, 40eb168e26aa63f11a47d70c4555cae30691a2cd57Michel Dänzer double depth, unsigned stencil); 4173f96c51052bf5233191d852ef463462306bf1d5Brian 4273f96c51052bf5233191d852ef463462306bf1d5Brian 4373f96c51052bf5233191d852ef463462306bf1d5Brian#endif /* SP_CLEAR_H */ 44