summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_flush.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-15 09:44:52 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-15 09:44:52 +0000
commit42910ebe7b9748c0ecb6a597bae3e7d43c7e170f (patch)
treeb2b9c72dc47a0473304dc2db1b078d13b658df34 /src/gallium/drivers/llvmpipe/lp_flush.h
parent47bfbd452c93e6a8db013fb90d9f42210cf24889 (diff)
parent68e58a96e80865878e6881dc4d34fcc3ec24eb19 (diff)
Merge commit 'origin/master' into gallium-sampler-view
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_flush.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_flush.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.h b/src/gallium/drivers/llvmpipe/lp_flush.h
index 10b2b52583..e13f57ccec 100644
--- a/src/gallium/drivers/llvmpipe/lp_flush.h
+++ b/src/gallium/drivers/llvmpipe/lp_flush.h
@@ -28,10 +28,22 @@
#ifndef LP_FLUSH_H
#define LP_FLUSH_H
+#include "pipe/p_compiler.h"
+
struct pipe_context;
struct pipe_fence_handle;
void llvmpipe_flush(struct pipe_context *pipe, unsigned flags,
struct pipe_fence_handle **fence);
+boolean
+llvmpipe_flush_texture(struct pipe_context *pipe,
+ struct pipe_texture *texture,
+ unsigned face,
+ unsigned level,
+ unsigned flush_flags,
+ boolean read_only,
+ boolean cpu_access,
+ boolean do_not_flush);
+
#endif