projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium: add BIND flags for R/W buffers and images
[mesa.git]
/
src
/
gallium
/
include
/
pipe
/
p_context.h
diff --git
a/src/gallium/include/pipe/p_context.h
b/src/gallium/include/pipe/p_context.h
index 67deb046e29554bf526bc35f0f13e0b825a8dffa..d2c2e4c8d144681f7b9b65ad6d4123f8e9b55746 100644
(file)
--- a/
src/gallium/include/pipe/p_context.h
+++ b/
src/gallium/include/pipe/p_context.h
@@
-231,6
+231,10
@@
struct pipe_context {
unsigned start_slot, unsigned num_views,
struct pipe_sampler_view **);
unsigned start_slot, unsigned num_views,
struct pipe_sampler_view **);
+ void (*set_tess_state)(struct pipe_context *,
+ const float default_outer_level[4],
+ const float default_inner_level[2]);
+
/**
* Bind an array of shader resources that will be used by the
* graphics pipeline. Any resources that were previously bound to
/**
* Bind an array of shader resources that will be used by the
* graphics pipeline. Any resources that were previously bound to
@@
-357,8
+361,14
@@
struct pipe_context {
const void *clear_value,
int clear_value_size);
const void *clear_value,
int clear_value_size);
- /** Flush draw commands
+ /**
+ * Flush draw commands
+ *
+ * NOTE: use screen->fence_reference() (or equivalent) to transfer
+ * new fence ref to **fence, to ensure that previous fence is unref'd
*
*
+ * \param fence if not NULL, an old fence to unref and transfer a
+ * new fence reference to
* \param flags bitfield of enum pipe_flush_flags values.
*/
void (*flush)(struct pipe_context *pipe,
* \param flags bitfield of enum pipe_flush_flags values.
*/
void (*flush)(struct pipe_context *pipe,