summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/intel_batchbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/intel_batchbuffer.h')
-rw-r--r--src/gallium/drivers/i965/intel_batchbuffer.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/i965/intel_batchbuffer.h b/src/gallium/drivers/i965/intel_batchbuffer.h
index a595d2e0c5..be04656aec 100644
--- a/src/gallium/drivers/i965/intel_batchbuffer.h
+++ b/src/gallium/drivers/i965/intel_batchbuffer.h
@@ -1,9 +1,6 @@
#ifndef INTEL_BATCHBUFFER_H
#define INTEL_BATCHBUFFER_H
-#include "main/mtypes.h"
-
-#include "intel_context.h"
#include "intel_bufmgr.h"
#include "intel_reg.h"
@@ -44,7 +41,7 @@ struct intel_batchbuffer
{
struct intel_context *intel;
- dri_bo *buf;
+ struct brw_winsys_buffer *buf;
GLubyte *buffer;
@@ -89,7 +86,7 @@ void intel_batchbuffer_release_space(struct intel_batchbuffer *batch,
GLuint bytes);
GLboolean intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
- dri_bo *buffer,
+ struct brw_winsys_buffer *buffer,
uint32_t read_domains,
uint32_t write_domain,
uint32_t offset);