Mesa (main): mesa: Remove unused _mesa_DrawTexx{,v}
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 7 19:02:50 UTC 2021
Module: Mesa
Branch: main
Commit: 98ef86b3afdb33302dfe3b1cd34e8f830851a791
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98ef86b3afdb33302dfe3b1cd34e8f830851a791
Author: Adam Jackson <ajax at redhat.com>
Date: Thu May 20 16:50:21 2021 -0400
mesa: Remove unused _mesa_DrawTexx{,v}
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14098>
---
src/mesa/main/drawtex.c | 26 --------------------------
src/mesa/main/drawtex.h | 7 -------
2 files changed, 33 deletions(-)
diff --git a/src/mesa/main/drawtex.c b/src/mesa/main/drawtex.c
index e7c76d1b044..0e262a88b06 100644
--- a/src/mesa/main/drawtex.c
+++ b/src/mesa/main/drawtex.c
@@ -104,29 +104,3 @@ _mesa_DrawTexsvOES(const GLshort *coords)
draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
(GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]);
}
-
-
-void GLAPIENTRY
-_mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height)
-{
- GET_CURRENT_CONTEXT(ctx);
- draw_texture(ctx,
- (GLfloat) x / 65536.0f,
- (GLfloat) y / 65536.0f,
- (GLfloat) z / 65536.0f,
- (GLfloat) width / 65536.0f,
- (GLfloat) height / 65536.0f);
-}
-
-
-void GLAPIENTRY
-_mesa_DrawTexxv(const GLfixed *coords)
-{
- GET_CURRENT_CONTEXT(ctx);
- draw_texture(ctx,
- (GLfloat) coords[0] / 65536.0f,
- (GLfloat) coords[1] / 65536.0f,
- (GLfloat) coords[2] / 65536.0f,
- (GLfloat) coords[3] / 65536.0f,
- (GLfloat) coords[4] / 65536.0f);
-}
diff --git a/src/mesa/main/drawtex.h b/src/mesa/main/drawtex.h
index 28e2435c8a8..dc41db0eb05 100644
--- a/src/mesa/main/drawtex.h
+++ b/src/mesa/main/drawtex.h
@@ -46,11 +46,4 @@ _mesa_DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height
extern void GLAPIENTRY
_mesa_DrawTexsvOES(const GLshort *coords);
-extern void GLAPIENTRY
-_mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
-
-extern void GLAPIENTRY
-_mesa_DrawTexxv(const GLfixed *coords);
-
-
#endif /* DRAWTEX_H */
More information about the mesa-commit
mailing list