Another round of glRead/DrawBuffer() clean-ups and simplifications.
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Oct 2002 17:41:03 +0000 (17:41 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Oct 2002 17:41:03 +0000 (17:41 +0000)
commit8ad1076dc2afda8ed37e5a9f6a757583eba90375
tree30bc52e2db6e089972d441a53c070e8377cb684d
parent9e84910749744efcba06670f622cc00d279f26f1
Another round of glRead/DrawBuffer() clean-ups and simplifications.
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer.
Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask.
swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now.
Added tokens and code for GL_AUX buffers, for completeness.
17 files changed:
src/mesa/drivers/allegro/amesa.c
src/mesa/drivers/d3d/NullProcs.c
src/mesa/drivers/ggi/ggimesa.c
src/mesa/drivers/glide/fxddspan.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/windows/wmesa.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/glapi.c
src/mesa/main/buffers.c
src/mesa/main/context.c
src/mesa/main/dd.h
src/mesa/main/mtypes.h
src/mesa/swrast/s_alphabuf.c
src/mesa/swrast/s_buffers.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_span.c
src/mesa/swrast/swrast.h