gallium: include u_surface.h instead of u_rect.h
authorBrian Paul <brianp@vmware.com>
Mon, 30 Sep 2013 15:07:33 +0000 (09:07 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Oct 2013 00:50:37 +0000 (18:50 -0600)
u_rect.h was including u_surface.h just to avoid touching a bunch
of other source files after some functions were moved from u_rect.h
to u_surface.h.  This patch cleans up that hack.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/util/u_format.c
src/gallium/auxiliary/util/u_rect.h
src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/vl/vl_mpeg12_decoder.c

index 08ef6ab3ea64d330b8553d043d87ee92cc4c426a..a8aa5719d392186229b5c2894964147a15502311 100644 (file)
@@ -34,9 +34,9 @@
 
 #include "u_math.h"
 #include "u_memory.h"
-#include "u_rect.h"
 #include "u_format.h"
 #include "u_format_s3tc.h"
+#include "u_surface.h"
 
 #include "pipe/p_defines.h"
 
index 10909b2024ee9541d55ec7d8853acb6e0dcaf900..c141550be2a02ce1c27065125fec573b542565ea 100644 (file)
@@ -83,10 +83,4 @@ u_rect_possible_intersection(const struct u_rect *a,
 }
 #endif
 
-
-/* Include pipe copy/fill rect helpers declarations for backwards compatibility
- */
-#include "util/u_surface.h"
-
-
 #endif /* U_RECT_H */
index 62298cdab09140ded83727e15f0fbb92b40654ca..fb80aec42a0569dcf800d792f0ce8024bd9c494d 100644 (file)
@@ -37,7 +37,7 @@
 #include "util/u_format.h"
 #include "util/u_math.h"
 #include "util/u_memory.h"
-#include "util/u_rect.h"
+#include "util/u_surface.h"
 #include "util/u_tile.h"
 
 
index f838e74210df19583ba72f5d6440b6d241f61f84..f91f90b7ac64279e1fcf90b44aee137c77d81437 100644 (file)
@@ -29,8 +29,8 @@
 #include <assert.h>
 
 #include "util/u_memory.h"
-#include "util/u_rect.h"
 #include "util/u_sampler.h"
+#include "util/u_surface.h"
 #include "util/u_video.h"
 
 #include "vl_mpeg12_decoder.h"