drawtex.h revision 3464ebd5
13464ebd5Sriastradh/*
23464ebd5Sriastradh * Copyright (C) 2009 Chia-I Wu <olv@0xlab.org>
33464ebd5Sriastradh *
43464ebd5Sriastradh * Permission is hereby granted, free of charge, to any person obtaining a
53464ebd5Sriastradh * copy of this software and associated documentation files (the "Software"),
63464ebd5Sriastradh * to deal in the Software without restriction, including without limitation
73464ebd5Sriastradh * the rights to use, copy, modify, merge, publish, distribute, sublicense,
83464ebd5Sriastradh * and/or sell copies of the Software, and to permit persons to whom the
93464ebd5Sriastradh * Software is furnished to do so, subject to the following conditions:
103464ebd5Sriastradh *
113464ebd5Sriastradh * The above copyright notice and this permission notice (including the next
123464ebd5Sriastradh * paragraph) shall be included in all copies or substantial portions of the
133464ebd5Sriastradh * Software.
143464ebd5Sriastradh *
153464ebd5Sriastradh * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
163464ebd5Sriastradh * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
173464ebd5Sriastradh * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
183464ebd5Sriastradh * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
193464ebd5Sriastradh * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
203464ebd5Sriastradh * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
213464ebd5Sriastradh * DEALINGS IN THE SOFTWARE.
223464ebd5Sriastradh */
233464ebd5Sriastradh
243464ebd5Sriastradh#ifndef DRAWTEX_H
253464ebd5Sriastradh#define DRAWTEX_H
263464ebd5Sriastradh
273464ebd5Sriastradh
283464ebd5Sriastradh#include "glheader.h"
293464ebd5Sriastradh#include "mfeatures.h"
303464ebd5Sriastradh
313464ebd5Sriastradh
323464ebd5Sriastradh#if FEATURE_OES_draw_texture
333464ebd5Sriastradh
343464ebd5Sriastradhextern void GLAPIENTRY
353464ebd5Sriastradh_mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
363464ebd5Sriastradh
373464ebd5Sriastradhextern void GLAPIENTRY
383464ebd5Sriastradh_mesa_DrawTexfv(const GLfloat *coords);
393464ebd5Sriastradh
403464ebd5Sriastradhextern void GLAPIENTRY
413464ebd5Sriastradh_mesa_DrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height);
423464ebd5Sriastradh
433464ebd5Sriastradhextern void GLAPIENTRY
443464ebd5Sriastradh_mesa_DrawTexiv(const GLint *coords);
453464ebd5Sriastradh
463464ebd5Sriastradhextern void GLAPIENTRY
473464ebd5Sriastradh_mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
483464ebd5Sriastradh
493464ebd5Sriastradhextern void GLAPIENTRY
503464ebd5Sriastradh_mesa_DrawTexsv(const GLshort *coords);
513464ebd5Sriastradh
523464ebd5Sriastradhextern void GLAPIENTRY
533464ebd5Sriastradh_mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
543464ebd5Sriastradh
553464ebd5Sriastradhextern void GLAPIENTRY
563464ebd5Sriastradh_mesa_DrawTexxv(const GLfixed *coords);
573464ebd5Sriastradh
583464ebd5Sriastradh#endif /* FEATURE_OES_draw_texture */
593464ebd5Sriastradh
603464ebd5Sriastradh
613464ebd5Sriastradh#endif /* DRAWTEX_H */
62