122144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes 27c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell/* 37c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * Mesa 3-D graphics library 45e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 522144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 65e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 77c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * Permission is hereby granted, free of charge, to any person obtaining a 87c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * copy of this software and associated documentation files (the "Software"), 97c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * to deal in the Software without restriction, including without limitation 107c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * the rights to use, copy, modify, merge, publish, distribute, sublicense, 117c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * and/or sell copies of the Software, and to permit persons to whom the 127c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * Software is furnished to do so, subject to the following conditions: 135e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 147c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * The above copyright notice and this permission notice shall be included 157c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * in all copies or substantial portions of the Software. 165e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 177c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 187c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 197c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith 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. 247c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * 257c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell * Authors: 26877128505431adaf817dc8069172ebe4a1cdf5d8José Fonseca * Keith Whitwell <keithw@vmware.com> 277c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell */ 287c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell 297c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell#ifndef SS_TRIANGLE_H 307c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell#define SS_TRIANGLE_H 317c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell 32da0bdc7cd576cc46b94a1d145cc59b6ed1f6439eVinson Leestruct gl_context; 337c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell 347c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell 35f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergvoid _swsetup_trifuncs_init( struct gl_context *ctx ); 36f9995b30756140724f41daf963fa06167912be7fKristian Høgsbergvoid _swsetup_choose_trifuncs( struct gl_context *ctx ); 377c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell 387c20642b1091df1aab7d9076a3fe2fb11c6f011cKeith Whitwell#endif 39