14a49301eSmrg/*
24a49301eSmrg * Mesa 3-D graphics library
34a49301eSmrg *
44a49301eSmrg * Copyright (C) 1999-2008  Brian Paul   All Rights Reserved.
54a49301eSmrg *
64a49301eSmrg * Permission is hereby granted, free of charge, to any person obtaining a
74a49301eSmrg * copy of this software and associated documentation files (the "Software"),
84a49301eSmrg * to deal in the Software without restriction, including without limitation
94a49301eSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
104a49301eSmrg * and/or sell copies of the Software, and to permit persons to whom the
114a49301eSmrg * Software is furnished to do so, subject to the following conditions:
124a49301eSmrg *
134a49301eSmrg * The above copyright notice and this permission notice shall be included
144a49301eSmrg * in all copies or substantial portions of the Software.
154a49301eSmrg *
164a49301eSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
174a49301eSmrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
184a49301eSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE.
234a49301eSmrg */
244a49301eSmrg
254a49301eSmrg#ifndef TEXCOMPRESS_S3TC_H
264a49301eSmrg#define TEXCOMPRESS_S3TC_H
274a49301eSmrg
283464ebd5Sriastradh#include "glheader.h"
294a49301eSmrg#include "texstore.h"
30af69d88dSmrg#include "texcompress.h"
314a49301eSmrg
323464ebd5Sriastradhstruct gl_context;
334a49301eSmrg
344a49301eSmrgextern GLboolean
354a49301eSmrg_mesa_texstore_rgb_dxt1(TEXSTORE_PARAMS);
364a49301eSmrg
374a49301eSmrgextern GLboolean
384a49301eSmrg_mesa_texstore_rgba_dxt1(TEXSTORE_PARAMS);
394a49301eSmrg
404a49301eSmrgextern GLboolean
414a49301eSmrg_mesa_texstore_rgba_dxt3(TEXSTORE_PARAMS);
424a49301eSmrg
434a49301eSmrgextern GLboolean
444a49301eSmrg_mesa_texstore_rgba_dxt5(TEXSTORE_PARAMS);
454a49301eSmrg
464a49301eSmrg
47af69d88dSmrgextern compressed_fetch_func
48af69d88dSmrg_mesa_get_dxt_fetch_func(mesa_format format);
494a49301eSmrg
504a49301eSmrg
514a49301eSmrg#endif /* TEXCOMPRESS_S3TC_H */
52