projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium: adapt to get_query_result interface change
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_flush.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_flush.h
b/src/gallium/drivers/llvmpipe/lp_flush.h
index 787bc5f2b25306fad919735c574084a22781473c..efff94c8c0cfe08c4cf1249e7f65a372aabfc44c 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_flush.h
+++ b/
src/gallium/drivers/llvmpipe/lp_flush.h
@@
-25,13
+25,32
@@
*
**************************************************************************/
*
**************************************************************************/
-#ifndef SP_FLUSH_H
-#define SP_FLUSH_H
+#ifndef LP_FLUSH_H
+#define LP_FLUSH_H
+
+#include "pipe/p_compiler.h"
struct pipe_context;
struct pipe_fence_handle;
struct pipe_context;
struct pipe_fence_handle;
+struct pipe_resource;
+
+void
+llvmpipe_flush(struct pipe_context *pipe,
+ struct pipe_fence_handle **fence,
+ const char *reason);
+
+void
+llvmpipe_finish( struct pipe_context *pipe,
+ const char *reason );
-void llvmpipe_flush(struct pipe_context *pipe, unsigned flags,
- struct pipe_fence_handle **fence);
+boolean
+llvmpipe_flush_resource(struct pipe_context *pipe,
+ struct pipe_resource *resource,
+ unsigned level,
+ int layer,
+ boolean read_only,
+ boolean cpu_access,
+ boolean do_not_block,
+ const char *reason);
#endif
#endif