return GL_TRUE;
}
-<<<<<<< HEAD:src/mesa/drivers/dri/intel_winsys/intel_buffers.c
-/**
- * Return pointer to current color drawing region, or NULL.
- */
-#if 0
-struct pipe_region *
-intel_drawbuf_region(struct intel_context *intel)
-{
- struct intel_renderbuffer *irbColor =
- intel_renderbuffer(intel->ctx.DrawBuffer->_ColorDrawBuffers[0][0]);
- if (irbColor)
- return irbColor->Base.surface->region;
- else
- return NULL;
-}
-=======
->>>>>>> remove dead code, remove intel_fbo.h includes:src/mesa/drivers/dri/intel_winsys/intel_buffers.c
-
-<<<<<<< HEAD:src/mesa/drivers/dri/intel_winsys/intel_buffers.c
-/**
- * Return pointer to current color reading region, or NULL.
- */
-struct pipe_region *
-intel_readbuf_region(struct intel_context *intel)
-{
- struct intel_renderbuffer *irb
- = intel_renderbuffer(intel->ctx.ReadBuffer->_ColorReadBuffer);
- if (irb)
- return irb->Base.surface->region;
- else
- return NULL;
-}
-#endif
-=======
->>>>>>> remove dead code, remove intel_fbo.h includes:src/mesa/drivers/dri/intel_winsys/intel_buffers.c
/**
* This will be called whenever the currently bound window is moved/resized.
/* Initialize the software rasterizer and helper modules. */
_vbo_CreateContext(ctx);
_tnl_CreateContext(ctx);
-
+#if 0
/*
* Pipe-related setup
*/
default:
assert(0); /*FIX*/
}
-
+#endif
/*
* memory pools
*/
if (!getenv("INTEL_HW")) {
intel->pipe = intel_create_softpipe( intel );
+ intel->pipe->surface_alloc = intel_new_surface;
+ intel->pipe->supported_formats = intel_supported_formats;
}
else {
switch (intel->intelScreen->deviceID) {