Enable GLX_SGI_make_current_read for radeon.
authorIan Romanick <idr@us.ibm.com>
Wed, 18 Oct 2006 20:27:11 +0000 (20:27 +0000)
committerIan Romanick <idr@us.ibm.com>
Wed, 18 Oct 2006 20:27:11 +0000 (20:27 +0000)
commit3beaff1e3cf227c493badfc55a69381c778b2ff7
treedbbbd04df4088f2d57284cac6e05b98771e4841e
parentec99e716a229e58233551d821418428cc1b90324
Enable GLX_SGI_make_current_read for radeon.

Added code to track the drawable bound to the context for reading.  In
addition, when a drawable is initially bound (for reading or drawing)
or when the size of the drawable changes, update the size of the
framebuffer object that back the drawable (for software fallbacks).

Deprecate the old GetBufferSize interface.

Bump the driver date.

These changes were tested with wincopy on both direct rendering and
accelerated indirect rendering (AIGLX).
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_context.h
src/mesa/drivers/dri/radeon/radeon_lock.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/radeon/radeon_state.c