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 4a09810..18f3791 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 1729ea2..cc55a09 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 62d75bc..3d98a2b 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 acedebf..9fd48ae 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 faf112c..2646706 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 -