aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_span.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-07-15 14:26:19 -0700
committerEric Anholt <[email protected]>2008-07-23 10:21:24 -0700
commitbdaa06ad639821368ac8d1af7b7561fd7e83fb13 (patch)
treec894b817fd304176edfbd6723e7bd2702c4761f4 /src/mesa/drivers/dri/intel/intel_span.h
parent99fe0c222c2853a612b73aa6fcffb0a532ce5747 (diff)
intel: move renderbuffer mapping to separate functions.
This lets us avoid duplicated code for doing so, including the depthstencil paths that aren't covered by SpanRenderStart/Finish. Those paths were missing the span funcs setup, leading to a null dereference in the fbotexture demo.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_span.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_span.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_span.h b/src/mesa/drivers/dri/intel/intel_span.h
index d2d4d6ecd48..acbeb4abe1c 100644
--- a/src/mesa/drivers/dri/intel/intel_span.h
+++ b/src/mesa/drivers/dri/intel/intel_span.h
@@ -32,5 +32,9 @@ extern void intelInitSpanFuncs(GLcontext * ctx);
extern void intelSpanRenderFinish(GLcontext * ctx);
extern void intelSpanRenderStart(GLcontext * ctx);
+void intel_renderbuffer_map(struct intel_context *intel,
+ struct gl_renderbuffer *rb);
+void intel_renderbuffer_unmap(struct intel_context *intel,
+ struct gl_renderbuffer *rb);
#endif