summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_context.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-06-04 10:21:29 +0000
committerEric Anholt <eric@anholt.net>2009-06-04 10:34:52 +0000
commit165ae5e2fb57bdb64b4cf01271b4effeb811f675 (patch)
treeec87bebf0363e14a9eedfed93a019c7dee91fa86 /src/mesa/drivers/dri/intel/intel_context.h
parent1b6f7fb7d5a9756c97e2ac2f5390b0d2333acf55 (diff)
i915: Don't rely on fence regs when we don't have to.
We're on the way to telling the kernel about when we need fence regs on our objects or not, and this will cut the number of places needing them.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_context.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
index 8b68cc3f04..810f3e62d9 100644
--- a/src/mesa/drivers/dri/intel/intel_context.h
+++ b/src/mesa/drivers/dri/intel/intel_context.h
@@ -559,6 +559,9 @@ void intel_viewport(GLcontext * ctx, GLint x, GLint y,
void intel_update_renderbuffers(__DRIcontext *context,
__DRIdrawable *drawable);
+void i915_set_buf_info_for_region(uint32_t *state, struct intel_region *region,
+ uint32_t buffer_id);
+
/*======================================================================
* Inline conversion functions.
* These are better-typed than the macros used previously: