Bug #4615: Fix the SiS driver for the renderbuffer changes. Previously, all
authorEric Anholt <anholt@FreeBSD.org>
Wed, 19 Oct 2005 00:53:05 +0000 (00:53 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 19 Oct 2005 00:53:05 +0000 (00:53 +0000)
commitdeadd47aab68d4914d70b19fa08f834623f2e0a7
tree5f951bc349cff8655995dcfee24372c489647f68
parentbf3f0bcf802af20b2d95890ad4dcc56c98289b10
Bug #4615: Fix the SiS driver for the renderbuffer changes.  Previously, all
drirenderbuffers pointed at screen offset 0 and NULL.  Instead, set up the front
buffer at startup but leave the others for later, since sis allocates them on
demand rather than using the static method of the other non-sis-descendent
drivers.  Some basic apps work, but fallbacks may be broken still.
src/mesa/drivers/dri/sis/sis_alloc.c
src/mesa/drivers/dri/sis/sis_clear.c
src/mesa/drivers/dri/sis/sis_context.c
src/mesa/drivers/dri/sis/sis_context.h
src/mesa/drivers/dri/sis/sis_dd.c
src/mesa/drivers/dri/sis/sis_screen.c
src/mesa/drivers/dri/sis/sis_screen.h
src/mesa/drivers/dri/sis/sis_span.c
src/mesa/drivers/dri/sis/sis_span.h
src/mesa/drivers/dri/sis/sis_state.c
src/mesa/drivers/dri/sis/sis_texstate.c