intel_screen.c \
intel_surface.c \
intel_fbo.c \
- intel_depthstencil.c \
intel_batchpool.c
+UNUSED = intel_depthstencil.c
+
C_SOURCES = \
$(COMMON_SOURCES) \
$(COMMON_BM_SOURCES) \
#include "pipe/p_context.h"
+
/* This block can be removed when libdrm >= 2.3.1 is required */
#ifndef DRM_VBLANK_FLIP
/* Emit wait for pending flips */
+#if 0
void
intel_wait_flips(struct intel_context *intel, GLuint batch_flags)
{
intel_rb->pf_pending--;
}
}
+#endif
#if 0
/* Flip the front & back buffers
DBG("freeing renderbuffer\n");
+#if 0
if (irb->PairedStencil || irb->PairedDepth) {
intel_unpair_depth_stencil(ctx, irb);
}
-
+#endif
if (intel && irb->region) {
intel->pipe->region_release(intel->pipe, &irb->region);
}
// intel_set_span_functions(&irb->Base);
+#if 0
irb->RenderToTexture = GL_TRUE;
+#endif
return irb;
}
{
struct gl_renderbuffer Base;
struct pipe_region *region;
+#if 0
void *pfMap; /* possibly paged flipped map pointer */
GLuint pfPitch; /* possibly paged flipped pitch */
GLboolean RenderToTexture; /* RTT? */
GLuint PairedStencil; /**< only used if this is a stencil renderbuffer */
GLuint pf_pending; /**< sequence number of pending flip */
+#endif
GLuint vbl_pending; /**< vblank sequence number of pending flip */
#include "dri_bufpool.h"
#include "pipe/p_context.h"
+#include "state_tracker/st_cb_fbo.h"
}
if (mesaVis->doubleBufferMode) {
+#if 01
intel_fb->color_rb[1]
= intel_new_renderbuffer_fb(rgbFormat);
_mesa_add_renderbuffer(&intel_fb->Base, BUFFER_BACK_LEFT,
&intel_fb->color_rb[1]->Base);
+#else
+ intel_fb->color_rb[1]
+ = st_new_renderbuffer_fb(rgbFormat);
+ _mesa_add_renderbuffer(&intel_fb->Base, BUFFER_BACK_LEFT,
+ &intel_fb->color_rb[1]->Base);
+#endif
}
if (mesaVis->depthBits == 24 && mesaVis->stencilBits == 8) {