diff options
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_winsys.h')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_winsys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_winsys.h b/src/mesa/pipe/i915simple/i915_winsys.h index 947c5a334d..cbb851a932 100644 --- a/src/mesa/pipe/i915simple/i915_winsys.h +++ b/src/mesa/pipe/i915simple/i915_winsys.h @@ -37,6 +37,9 @@ #define I915_WINSYS_H +#include "pipe/p_defines.h" + + /* Pipe drivers are (meant to be!) independent of both GL and the * window system. The window system provides a buffer manager and a * set of additional hooks for things like command buffer submission, @@ -100,6 +103,8 @@ struct i915_winsys { #define I915_BUFFER_ACCESS_WRITE 0x1 #define I915_BUFFER_ACCESS_READ 0x2 +#define I915_BUFFER_USAGE_LIT_VERTEX (PIPE_BUFFER_USAGE_CUSTOM << 0) + struct pipe_context *i915_create( struct pipe_winsys *, struct i915_winsys *, |