summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_fbo.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-01-09 16:55:32 -0500
committerKristian Høgsberg <[email protected]>2008-01-09 20:43:18 -0500
commite131c46b20241737ceba4856dbe01dcca6dd2c03 (patch)
tree98b352d4a660cb6f96e9e9f809b372137f8a2e04 /src/mesa/drivers/dri/intel/intel_fbo.h
parent33c42c126272a4db879315127ef0fff711f1db8a (diff)
[intel] Simplify intelCreateBuffer() a bit.
Drop a bunch of unused arguments from intel_create_renderbuffer() and introduce intel_renderbuffer_set_region() to set the region for a renderbuffer.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h
index dc017f7121d..2fda7dca005 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.h
+++ b/src/mesa/drivers/dri/intel/intel_fbo.h
@@ -85,14 +85,12 @@ struct intel_renderbuffer
extern struct intel_renderbuffer *intel_renderbuffer(struct gl_renderbuffer
*rb);
-extern struct intel_renderbuffer *intel_create_renderbuffer(GLenum intFormat,
- GLsizei width,
- GLsizei height,
- int offset,
- int pitch,
- int cpp,
- void *map);
+extern void
+intel_renderbuffer_set_region(struct intel_renderbuffer *irb,
+ struct intel_region *region);
+extern struct intel_renderbuffer *
+intel_create_renderbuffer(GLenum intFormat);
extern void intel_fbo_init(struct intel_context *intel);