Mesa (master): util: remove unused util_blitter_copy_surface

Marek Olšák mareko at kemper.freedesktop.org
Tue May 25 22:14:49 UTC 2010


Module: Mesa
Branch: master
Commit: 85c55f2cf485644d99adcdc1d256b857f9456d81
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85c55f2cf485644d99adcdc1d256b857f9456d81

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue May 25 20:59:13 2010 +0200

util: remove unused util_blitter_copy_surface

---

 src/gallium/auxiliary/util/u_blitter.h |   20 +-------------------
 1 files changed, 1 insertions(+), 19 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blitter.h b/src/gallium/auxiliary/util/u_blitter.h
index f6e3ce4..ab96ba2 100644
--- a/src/gallium/auxiliary/util/u_blitter.h
+++ b/src/gallium/auxiliary/util/u_blitter.h
@@ -136,28 +136,10 @@ void util_blitter_fill(struct blitter_context *blitter,
                        unsigned width, unsigned height,
                        unsigned value);
 
-/**
- * Copy all pixels from one surface to another.
- *
- * The rules are the same as in util_blitter_copy with the addition that
- * surfaces must have the same size.
- */
-static INLINE
-void util_blitter_copy_surface(struct blitter_context *blitter,
-                               struct pipe_surface *dst,
-                               struct pipe_surface *src,
-                               boolean ignore_stencil)
-{
-   assert(dst->width == src->width && dst->height == src->height);
-
-   util_blitter_copy(blitter, dst, 0, 0, src, 0, 0, src->width, src->height,
-                     ignore_stencil);
-}
-
 
 /* The functions below should be used to save currently bound constant state
  * objects inside a driver. The objects are automatically restored at the end
- * of the util_blitter_{clear, fill, copy, copy_surface} functions and then
+ * of the util_blitter_{clear, fill, copy} functions and then
  * forgotten.
  *
  * CSOs not listed here are not affected by util_blitter. */




More information about the mesa-commit mailing list