projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
softpipe: fix depth sampling for linear vs nearest.
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_winsys.h
diff --git
a/src/gallium/drivers/i915/i915_winsys.h
b/src/gallium/drivers/i915/i915_winsys.h
index 21cfdc9613ef5d2aa551fb343b2639c347ae6dda..4c42c94fc00b480806e97eddf99c98636d704ef3 100644
(file)
--- a/
src/gallium/drivers/i915/i915_winsys.h
+++ b/
src/gallium/drivers/i915/i915_winsys.h
@@
-102,7
+102,7
@@
struct i915_winsys {
* @num_of_buffers size of the passed array
*/
boolean (*validate_buffers)(struct i915_winsys_batchbuffer *batch,
* @num_of_buffers size of the passed array
*/
boolean (*validate_buffers)(struct i915_winsys_batchbuffer *batch,
- struct i915_winsys_buffer **buffers,
+ struct i915_winsys_buffer **buffers,
int num_of_buffers);
/**
int num_of_buffers);
/**
@@
-207,6
+207,12
@@
struct i915_winsys {
void (*buffer_destroy)(struct i915_winsys *iws,
struct i915_winsys_buffer *buffer);
void (*buffer_destroy)(struct i915_winsys *iws,
struct i915_winsys_buffer *buffer);
+
+ /**
+ * Check if a buffer is busy.
+ */
+ boolean (*buffer_is_busy)(struct i915_winsys *iws,
+ struct i915_winsys_buffer *buffer);
/*@}*/
/*@}*/