From 982e8e4d5c95e9e9040b4b70d7322a2a8a9396d9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 1 Sep 2005 03:54:34 +0000 Subject: Finish up some of the gl_renderbuffer work. Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function. --- src/mesa/drivers/dri/radeon/radeon_context.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/mesa/drivers/dri/radeon/radeon_context.h') diff --git a/src/mesa/drivers/dri/radeon/radeon_context.h b/src/mesa/drivers/dri/radeon/radeon_context.h index 621a4c6557..8c1c70c122 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.h +++ b/src/mesa/drivers/dri/radeon/radeon_context.h @@ -95,7 +95,6 @@ typedef void (*radeon_point_func)( radeonContextPtr, struct radeon_colorbuffer_state { GLuint clear; - GLint drawOffset, drawPitch; int roundEnable; }; @@ -105,10 +104,6 @@ struct radeon_depthbuffer_state { GLfloat scale; }; -struct radeon_pixel_state { - GLint readOffset, readPitch; -}; - struct radeon_scissor_state { drm_clip_rect_t rect; GLboolean enabled; @@ -434,7 +429,6 @@ struct radeon_state { */ struct radeon_colorbuffer_state color; struct radeon_depthbuffer_state depth; - struct radeon_pixel_state pixel; struct radeon_scissor_state scissor; struct radeon_stencilbuffer_state stencil; struct radeon_stipple_state stipple; -- cgit v1.2.3