1cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 2cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell/* 3cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * Mesa 3-D graphics library 45e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 522144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 65e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 7cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * Permission is hereby granted, free of charge, to any person obtaining a 8cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * copy of this software and associated documentation files (the "Software"), 9cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * to deal in the Software without restriction, including without limitation 10cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * the rights to use, copy, modify, merge, publish, distribute, sublicense, 11cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * and/or sell copies of the Software, and to permit persons to whom the 12cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * Software is furnished to do so, subject to the following conditions: 135e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 14cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * The above copyright notice and this permission notice shall be included 15cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * in all copies or substantial portions of the Software. 165e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 17cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 203d8d5b298a268b119d840bc9bae0ee9e0c9244a9Kenneth Graunke * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 213d8d5b298a268b119d840bc9bae0ee9e0c9244a9Kenneth Graunke * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 223d8d5b298a268b119d840bc9bae0ee9e0c9244a9Kenneth Graunke * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 233d8d5b298a268b119d840bc9bae0ee9e0c9244a9Kenneth Graunke * OTHER DEALINGS IN THE SOFTWARE. 24cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell */ 25cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 26cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 27cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell#ifndef S_FEEDBACK_H 28cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell#define S_FEEDBACK_H 29cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 30cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 31cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell#include "swrast.h" 32cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 33cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 34f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergextern void _swrast_feedback_point( struct gl_context *ctx, const SWvertex *v ); 35cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 36f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergextern void _swrast_feedback_line( struct gl_context *ctx, 37a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul const SWvertex *v1, const SWvertex *v2 ); 38a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul 39f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergextern void _swrast_feedback_triangle( struct gl_context *ctx, const SWvertex *v0, 40a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul const SWvertex *v1, const SWvertex *v2 ); 41a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul 42f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergextern void _swrast_select_point( struct gl_context *ctx, const SWvertex *v ); 43a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul 44f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergextern void _swrast_select_line( struct gl_context *ctx, 45a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul const SWvertex *v1, const SWvertex *v2 ); 46a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul 47f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergextern void _swrast_select_triangle( struct gl_context *ctx, const SWvertex *v0, 48a852378a6289d154364dde440f89a39bbfc33e2dBrian Paul const SWvertex *v1, const SWvertex *v2 ); 49cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell 50cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0Keith Whitwell#endif 51