Browse Source

gallium: change surface_copy()'s do_flip to boolean

tags/mesa_20090313
Brian Paul 17 years ago
parent
commit
e14126ec81

+ 1
- 1
src/gallium/drivers/cell/ppu/cell_surface.c View File



static void static void
cell_surface_copy(struct pipe_context *pipe, cell_surface_copy(struct pipe_context *pipe,
unsigned do_flip,
boolean do_flip,
struct pipe_surface *dst, struct pipe_surface *dst,
unsigned dstx, unsigned dsty, unsigned dstx, unsigned dsty,
struct pipe_surface *src, struct pipe_surface *src,

+ 1
- 1
src/gallium/drivers/i915simple/i915_surface.c View File

*/ */
static void static void
i915_surface_copy(struct pipe_context *pipe, i915_surface_copy(struct pipe_context *pipe,
unsigned do_flip,
boolean do_flip,
struct pipe_surface *dst, struct pipe_surface *dst,
unsigned dstx, unsigned dsty, unsigned dstx, unsigned dsty,
struct pipe_surface *src, struct pipe_surface *src,

+ 1
- 1
src/gallium/drivers/i965simple/brw_surface.c View File

*/ */
static void static void
brw_surface_copy(struct pipe_context *pipe, brw_surface_copy(struct pipe_context *pipe,
unsigned do_flip,
boolean do_flip,
struct pipe_surface *dst, struct pipe_surface *dst,
unsigned dstx, unsigned dsty, unsigned dstx, unsigned dsty,
struct pipe_surface *src, struct pipe_surface *src,

+ 1
- 1
src/gallium/drivers/softpipe/sp_surface.c View File

*/ */
static void static void
sp_surface_copy(struct pipe_context *pipe, sp_surface_copy(struct pipe_context *pipe,
unsigned do_flip,
boolean do_flip,
struct pipe_surface *dst, struct pipe_surface *dst,
unsigned dstx, unsigned dsty, unsigned dstx, unsigned dsty,
struct pipe_surface *src, struct pipe_surface *src,

+ 1
- 1
src/gallium/include/pipe/p_context.h View File

*/ */
/*@{*/ /*@{*/
void (*surface_copy)(struct pipe_context *pipe, 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, struct pipe_surface *dest,
unsigned destx, unsigned desty, unsigned destx, unsigned desty,
struct pipe_surface *src, /* don't make this const - struct pipe_surface *src, /* don't make this const -

Loading…
Cancel
Save