From 2cd8791cad11ea3961533c0cd8f9c1bbf50ef6cc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 15 Sep 2005 00:57:00 +0000 Subject: Split the s_texture.c file into two new files: s_texcombine.c - for texture combining/application s_texfilter.c - for texture sampling/filtering --- src/mesa/swrast/s_texfilter.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/mesa/swrast/s_texfilter.h (limited to 'src/mesa/swrast/s_texfilter.h') diff --git a/src/mesa/swrast/s_texfilter.h b/src/mesa/swrast/s_texfilter.h new file mode 100644 index 0000000..e4445e7 --- /dev/null +++ b/src/mesa/swrast/s_texfilter.h @@ -0,0 +1,39 @@ +/* + * Mesa 3-D graphics library + * Version: 6.5 + * + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + + +#ifndef S_TEXFILTER_H +#define S_TEXFILTER_H + + +#include "mtypes.h" +#include "swrast.h" + + +extern texture_sample_func +_swrast_choose_texture_sample_func( GLcontext *ctx, + const struct gl_texture_object *tObj ); + + +#endif -- cgit v1.1