1e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell/* 2e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * Mesa 3-D graphics library 32cd8791cad11ea3961533c0cd8f9c1bbf50ef6ccBrian Paul * Version: 6.5 45e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 52cd8791cad11ea3961533c0cd8f9c1bbf50ef6ccBrian Paul * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. 65e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 7e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * Permission is hereby granted, free of charge, to any person obtaining a 8e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * copy of this software and associated documentation files (the "Software"), 9e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * to deal in the Software without restriction, including without limitation 10e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * the rights to use, copy, modify, merge, publish, distribute, sublicense, 11e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * and/or sell copies of the Software, and to permit persons to whom the 12e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * Software is furnished to do so, subject to the following conditions: 135e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 14e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * The above copyright notice and this permission notice shall be included 15e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * in all copies or substantial portions of the Software. 165e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen * 17e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 21e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell */ 24e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 25e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 262cd8791cad11ea3961533c0cd8f9c1bbf50ef6ccBrian Paul#ifndef S_TEXFILTER_H 272cd8791cad11ea3961533c0cd8f9c1bbf50ef6ccBrian Paul#define S_TEXFILTER_H 28e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 29e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 30a2a40cefe2335c1edaa20258d74263f0004b2928Vinson Lee#include "s_context.h" 31e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 3277d1d351637f127651d554616d71bc9afb9395f9Vinson Leestruct gl_context; 3377d1d351637f127651d554616d71bc9afb9395f9Vinson Leestruct gl_texture_object; 3477d1d351637f127651d554616d71bc9afb9395f9Vinson Lee 35e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 36b8d6607acd3b6d18dab0c7247d5e0fc72e98ceaeBrian Paulextern texture_sample_func 37f9995b30756140724f41daf963fa06167912be7fKristian Høgsberg_swrast_choose_texture_sample_func( struct gl_context *ctx, 38f4a93e0665881dd58a95abb6525676bd1cc2e6afBrian Paul const struct gl_texture_object *tObj, 39f4a93e0665881dd58a95abb6525676bd1cc2e6afBrian Paul const struct gl_sampler_object *sampler); 40e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell 41b7f5e92f1749ce4601a758f66ddc64959f11742bBrian Paul 42e3a051e0538a605551f4d58294c94f5eb00ed07fKeith Whitwell#endif 43