gallium: change surface_copy()'s do_flip to boolean
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user