summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-16 04:05:54 +0000
committerBrian Paul <[email protected]>2005-11-16 04:05:54 +0000
commit847160466cb7d1af55f294578c328b01fb3fd3d3 (patch)
tree7a85fe8a10af86caf7c94eb193572d08da4eb80e /src/mesa/main/fbobject.h
parent06185363ddcbd53a7b8b60350e71d9725a1632d5 (diff)
Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).
depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
Diffstat (limited to 'src/mesa/main/fbobject.h')
-rw-r--r--src/mesa/main/fbobject.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h
index 59214ce81d8..71517adfd89 100644
--- a/src/mesa/main/fbobject.h
+++ b/src/mesa/main/fbobject.h
@@ -27,6 +27,11 @@
#define FBOBJECT_H
+extern struct gl_renderbuffer_attachment *
+_mesa_get_attachment(GLcontext *ctx, struct gl_framebuffer *fb,
+ GLenum attachment);
+
+
extern void
_mesa_remove_attachment(GLcontext *ctx,
struct gl_renderbuffer_attachment *att);
@@ -43,9 +48,8 @@ _mesa_set_renderbuffer_attachment(GLcontext *ctx,
struct gl_renderbuffer *rb);
extern void
-_mesa_framebuffer_renderbuffer(GLcontext *ctx,
- struct gl_renderbuffer_attachment *att,
- struct gl_renderbuffer *rb);
+_mesa_framebuffer_renderbuffer(GLcontext *ctx, struct gl_framebuffer *fb,
+ GLenum attachment, struct gl_renderbuffer *rb);
extern void
_mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb);