aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel_winsys/intel_fbo.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-09 11:30:40 -0600
committerBrian <[email protected]>2007-08-09 14:26:31 -0600
commitb6e4efb451061a4e124f6bf575e528cbbff551c2 (patch)
treeaa5dd60f37edcf7e09e24596e3cbe144014421e9 /src/mesa/drivers/dri/intel_winsys/intel_fbo.h
parent0481f22fdbed715dea9e36dad871606d5fd285bb (diff)
remove color_rb[] and lots of dead code
Diffstat (limited to 'src/mesa/drivers/dri/intel_winsys/intel_fbo.h')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_fbo.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_fbo.h b/src/mesa/drivers/dri/intel_winsys/intel_fbo.h
index 63d8e839c51..578e1013c2d 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_fbo.h
+++ b/src/mesa/drivers/dri/intel_winsys/intel_fbo.h
@@ -44,8 +44,6 @@ struct intel_framebuffer
{
struct gl_framebuffer Base;
- struct intel_renderbuffer *color_rb[3];
-
/* Drawable page flipping state */
GLboolean pf_active;
GLuint pf_seq;
@@ -78,53 +76,14 @@ struct intel_framebuffer
struct intel_renderbuffer
{
struct gl_renderbuffer Base;
-#if 0
- struct pipe_region *region;
-
- void *pfMap; /* possibly paged flipped map pointer */
- GLuint pfPitch; /* possibly paged flipped pitch */
- GLboolean RenderToTexture; /* RTT? */
-
- GLuint PairedDepth; /**< only used if this is a depth renderbuffer */
- GLuint PairedStencil; /**< only used if this is a stencil renderbuffer */
-
- GLuint pf_pending; /**< sequence number of pending flip */
-
- GLuint vbl_pending; /**< vblank sequence number of pending flip */
-
- struct intel_surface *surface;
-#endif
};
-#if 0
-extern struct intel_renderbuffer *intel_create_renderbuffer(GLenum intFormat,
- GLsizei width,
- GLsizei height,
- int offset,
- int pitch,
- int cpp,
- void *map);
-#endif
extern struct intel_renderbuffer *intel_new_renderbuffer_fb(GLuint intFormat);
extern void intel_fbo_init(struct intel_context *intel);
-/* XXX make inline or macro */
-extern struct intel_renderbuffer *intel_get_renderbuffer(struct gl_framebuffer
- *fb,
- GLuint attIndex);
-
-extern void intel_flip_renderbuffers(struct intel_framebuffer *intel_fb);
-
-
-/* XXX make inline or macro */
-extern struct pipe_region *intel_get_rb_region(struct gl_framebuffer *fb,
- GLuint attIndex);
-
-
-
extern struct pipe_surface *
intel_new_surface(GLuint intFormat);