summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_blit.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-06-23 16:01:41 +0200
committerJakob Bornecrantz <[email protected]>2008-06-23 16:09:38 +0200
commit708bb35194e16bf7aaf5cd676f572b7200a156d1 (patch)
treec01eb1995e35c790a2342a55458be5e5bd59e3b9 /src/gallium/auxiliary/util/u_blit.h
parent52501801c7107614387717e7b97e66a667f9e5b8 (diff)
util: Blit can now copy from texture to surface
Diffstat (limited to 'src/gallium/auxiliary/util/u_blit.h')
-rw-r--r--src/gallium/auxiliary/util/u_blit.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.h b/src/gallium/auxiliary/util/u_blit.h
index 0ce9732e620..7d0406c1047 100644
--- a/src/gallium/auxiliary/util/u_blit.h
+++ b/src/gallium/auxiliary/util/u_blit.h
@@ -42,15 +42,13 @@ struct cso_context;
struct blit_state;
+
extern struct blit_state *
util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
-
extern void
util_destroy_blit(struct blit_state *ctx);
-
-
extern void
util_blit_pixels(struct blit_state *ctx,
struct pipe_surface *src,
@@ -61,6 +59,16 @@ util_blit_pixels(struct blit_state *ctx,
int dstX1, int dstY1,
float z, uint filter);
+extern void
+util_blit_pixels_tex(struct blit_state *ctx,
+ struct pipe_texture *tex,
+ int srcX0, int srcY0,
+ int srcX1, int srcY1,
+ struct pipe_surface *dst,
+ int dstX0, int dstY0,
+ int dstX1, int dstY1,
+ float z, uint filter);
+
#ifdef __cplusplus
}