[Mesa-dev] [PATCH 3/3] gallium/util: switch over to new u_debug_image.[ch] code

Marek Olšák maraeo at gmail.com
Sun Feb 7 13:25:25 UTC 2016


On Sat, Feb 6, 2016 at 1:54 AM, Brian Paul <brianp at vmware.com> wrote:
> ---
>  src/gallium/auxiliary/Makefile.sources     |   4 +-
>  src/gallium/auxiliary/util/u_debug.c       | 313 +----------------------------
>  src/gallium/auxiliary/util/u_debug.h       |  39 ----
>  src/gallium/drivers/llvmpipe/lp_flush.c    |   1 +
>  src/gallium/drivers/softpipe/sp_flush.c    |   1 +
>  src/gallium/drivers/svga/svga_pipe_flush.c |   1 +
>  src/gallium/targets/graw-null/graw_util.c  |   1 +
>  src/gallium/tests/graw/graw_util.h         |   1 +
>  src/gallium/tests/trivial/quad-tex.c       |   2 +-
>  src/gallium/tests/trivial/tri.c            |   2 +-
>  10 files changed, 12 insertions(+), 353 deletions(-)
>
> diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources
> index 6f50f71..84da85c 100644
> --- a/src/gallium/auxiliary/Makefile.sources
> +++ b/src/gallium/auxiliary/Makefile.sources
> @@ -191,11 +191,13 @@ C_SOURCES := \
>         util/u_cpu_detect.c \
>         util/u_cpu_detect.h \
>         util/u_debug.c \
> +       util/u_debug.h \
>         util/u_debug_describe.c \
>         util/u_debug_describe.h \
>         util/u_debug_flush.c \
>         util/u_debug_flush.h \
> -       util/u_debug.h \
> +       util/u_debug_image.c \
> +       util/u_debug_image.h \
>         util/u_debug_memory.c \
>         util/u_debug_refcnt.c \
>         util/u_debug_refcnt.h \
> diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c
> index 7a3d51f..f378415 100644
> --- a/src/gallium/auxiliary/util/u_debug.c
> +++ b/src/gallium/auxiliary/util/u_debug.c
> @@ -38,9 +38,9 @@
>  #include "util/u_memory.h"
>  #include "util/u_string.h"
>  #include "util/u_math.h"
> -#include "util/u_tile.h"
> +//#include "util/u_tile.h"
>  #include "util/u_prim.h"
> -#include "util/u_surface.h"
> +//#include "util/u_surface.h"

Did you mean to remove these? With that done, the series is:
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek


More information about the mesa-dev mailing list