- - Removed swrast->Driver.SetReadBuffer
- - Added swrast->Driver.SetBuffer. This function should be implemented by
- _all_ device drivers. Mesa will call it to specify the buffer to use
- for span reading AND writing and point/line/triangle rendering. There
- should be no confusion between current read or draw buffer anymore.
+ - Added swrast->Driver.SetBuffer().
+ This function should be implemented by all device drivers that use swrast.
+ Mesa will call it to specify the buffer to use for span reading AND
+ writing and point/line/triangle rendering.
+ There should be no confusion between current read or draw buffer anymore.
+ - Added swrast->CurrentBuffer to indicate which color buffer to read/draw.
+ Will be FRONT_LEFT_BIT, BACK_LEFT_BIT, FRONT_RIGHT_BIT or BACK_RIGHT_BIT.
+ This value is usually passed to swrast->Driver.SetBuffer().