gallium: change surface_copy()'s do_flip to boolean
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 23 Jun 2008 14:54:16 +0000 (08:54 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 23 Jun 2008 14:54:16 +0000 (08:54 -0600)
src/gallium/drivers/cell/ppu/cell_surface.c
src/gallium/drivers/i915simple/i915_surface.c
src/gallium/drivers/i965simple/brw_surface.c
src/gallium/drivers/softpipe/sp_surface.c
src/gallium/include/pipe/p_context.h

index 4a098101e191642b904b3e9c9c179b63992cc930..18f37919241c5b1ad89b2b087e7494f92cfb53f1 100644 (file)
@@ -60,7 +60,7 @@ cell_surface_data(struct pipe_context *pipe,
 
 static void
 cell_surface_copy(struct pipe_context *pipe,
-                  unsigned do_flip,
+                  boolean do_flip,
                   struct pipe_surface *dst,
                   unsigned dstx, unsigned dsty,
                   struct pipe_surface *src,
index 1729ea26f5d749258902a059f1ba316f2c8fbf59..cc55a0910ed0dcacbfc0a41e625593f8cbe535b5 100644 (file)
@@ -41,7 +41,7 @@
  */
 static void
 i915_surface_copy(struct pipe_context *pipe,
-                  unsigned do_flip,
+                  boolean do_flip,
                  struct pipe_surface *dst,
                  unsigned dstx, unsigned dsty,
                  struct pipe_surface *src,
index 62d75bc251e7171454f589883e5bf285f6764d3c..3d98a2bf199eead8be0386b3df873d4e6be81c97 100644 (file)
@@ -41,7 +41,7 @@
  */
 static void
 brw_surface_copy(struct pipe_context *pipe,
-                 unsigned do_flip,
+                 boolean do_flip,
                  struct pipe_surface *dst,
                  unsigned dstx, unsigned dsty,
                  struct pipe_surface *src,
index acedebfcc588e9ac123184563759474f8b3485b8..9fd48aeccc5e69a6b993b4b9a5276e64daefe535 100644 (file)
@@ -44,7 +44,7 @@
  */
 static void
 sp_surface_copy(struct pipe_context *pipe,
-                unsigned do_flip,
+                boolean do_flip,
                struct pipe_surface *dst,
                unsigned dstx, unsigned dsty,
                struct pipe_surface *src,
index faf112c6d6172aa594d65bffde92e051ffbfba77..2646706ff239ace09aefb94799cfe4c9ac2227fe 100644 (file)
@@ -192,7 +192,7 @@ struct pipe_context {
     */
    /*@{*/
    void (*surface_copy)(struct pipe_context *pipe,
-                        unsigned do_flip,      /*<< flip surface contents vertically */
+                        boolean do_flip,/**< flip surface contents vertically */
                        struct pipe_surface *dest,
                        unsigned destx, unsigned desty,
                        struct pipe_surface *src, /* don't make this const -