Mesa (master): rbug: rename pf_is_compressed to util_format_is_compressed

Roland Scheidegger sroland at kemper.freedesktop.org
Wed Dec 23 07:59:18 PST 2009


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

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Wed Dec 23 16:55:16 2009 +0100

rbug: rename pf_is_compressed to util_format_is_compressed

---

 progs/rbug/bin_to_bmp.c |    3 ++-
 progs/rbug/tex_dump.c   |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/progs/rbug/bin_to_bmp.c b/progs/rbug/bin_to_bmp.c
index 03ff622..49a5416 100644
--- a/progs/rbug/bin_to_bmp.c
+++ b/progs/rbug/bin_to_bmp.c
@@ -28,6 +28,7 @@
 #include "util/u_format.h"
 #include "util/u_memory.h"
 #include "util/u_debug.h"
+#include "util/u_format.h"
 #include "util/u_network.h"
 #include "util/u_tile.h"
 
@@ -73,7 +74,7 @@ static void dump(unsigned width, unsigned height,
 
    util_snprintf(filename, 512, "%s.bmp", pf_name(src_format));
 
-   if (pf_is_compressed(src_format)) {
+   if (util_format_is_compressed(src_format)) {
       debug_printf("skipping: %s\n", filename);
       return;
    }
diff --git a/progs/rbug/tex_dump.c b/progs/rbug/tex_dump.c
index f9e06ee..963f8ee 100644
--- a/progs/rbug/tex_dump.c
+++ b/progs/rbug/tex_dump.c
@@ -27,6 +27,7 @@
 #include "pipe/p_state.h"
 #include "util/u_memory.h"
 #include "util/u_debug.h"
+#include "util/u_format.h"
 #include "util/u_network.h"
 #include "util/u_tile.h"
 #include "rbug/rbug.h"
@@ -49,7 +50,7 @@ static void dump(rbug_texture_t tex,
    util_snprintf(filename, 512, "%llu_%s_%u.bmp",
                  (unsigned long long)tex, pf_name(info->format), mip);
 
-   if (pf_is_compressed(info->format)) {
+   if (util_format_is_compressed(info->format)) {
       debug_printf("skipping: %s\n", filename);
       return;
    }



More information about the mesa-commit mailing list