From 8bc56551da9ce64be3e253c5131a572501ad44a7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 8 Nov 2019 13:49:20 -0800 Subject: [PATCH] softpipe: Drop the raw_to* part of the tile cache interface. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Nothing else uses it, so make it static. Reviewed-by: Marek Olšák Part-of: --- src/gallium/auxiliary/util/u_tile.c | 6 +++--- src/gallium/auxiliary/util/u_tile.h | 18 ------------------ 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index fa85c7fbadb..ed76a7ef83d 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++ b/src/gallium/auxiliary/util/u_tile.c @@ -354,7 +354,7 @@ x32_s8_get_tile_rgba(const unsigned *src, } } -void +static void pipe_tile_raw_to_rgba(enum pipe_format format, const void *src, uint w, uint h, @@ -401,7 +401,7 @@ pipe_tile_raw_to_rgba(enum pipe_format format, } } -void +static void pipe_tile_raw_to_unsigned(enum pipe_format format, const void *src, uint w, uint h, @@ -413,7 +413,7 @@ pipe_tile_raw_to_unsigned(enum pipe_format format, 0, 0, w, h); } -void +static void pipe_tile_raw_to_signed(enum pipe_format format, void *src, uint w, uint h, diff --git a/src/gallium/auxiliary/util/u_tile.h b/src/gallium/auxiliary/util/u_tile.h index b8dc89687e2..d042a6018ac 100644 --- a/src/gallium/auxiliary/util/u_tile.h +++ b/src/gallium/auxiliary/util/u_tile.h @@ -99,24 +99,6 @@ pipe_put_tile_rgba_format(struct pipe_transfer *pt, enum pipe_format format, const float *p); -void -pipe_tile_raw_to_rgba(enum pipe_format format, - const void *src, - uint w, uint h, - float *dst, unsigned dst_stride); - -void -pipe_tile_raw_to_unsigned(enum pipe_format format, - const void *src, - uint w, uint h, - unsigned *dst, unsigned dst_stride); - -void -pipe_tile_raw_to_signed(enum pipe_format format, - void *src, - uint w, uint h, - int *dst, unsigned dst_stride); - void pipe_get_tile_ui_format(struct pipe_transfer *pt, const void *src, -- 2.30.2