summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_blit.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-02-13 11:39:58 +0000
committerMichel Dänzer <michel@tungstengraphics.com>2008-02-13 11:39:58 +0000
commite922adbe1d6c1764968377658ea92ae6de0585db (patch)
tree7260e77f9696a8752d3800a0a616b8f461d4d871 /src/mesa/pipe/i965simple/brw_blit.h
parent4bb1a14d901fcddb25efeeff49c4dea8ca872f73 (diff)
gallium: pipe->surface_copy can flip the contents vertically when necessary.
Fixes gears being upside down on the box in demos/gearbox.
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_blit.h')
-rw-r--r--src/mesa/pipe/i965simple/brw_blit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/i965simple/brw_blit.h b/src/mesa/pipe/i965simple/brw_blit.h
index 7f17a70173..111c5d91d3 100644
--- a/src/mesa/pipe/i965simple/brw_blit.h
+++ b/src/mesa/pipe/i965simple/brw_blit.h
@@ -16,6 +16,7 @@ void brw_fill_blit(struct brw_context *intel,
short w, short h,
unsigned color);
void brw_copy_blit(struct brw_context *intel,
+ unsigned do_flip,
unsigned cpp,
short src_pitch,
struct pipe_buffer *src_buffer,