The latest work by Marek Olšák
is a major rework to the way that blitting is handled by graphics drivers on the Gallium3D architecture.
Marek has sought after changing the way that the blitting implementation is handled by Gallium3D drivers to allow for allowing MSAA resource blitting to be accelerated on any hardware, allowing stencil blitting to be accelerated on any hardware, drivers potentially allowing a faster code-path if they can look at the entire blit operation, an easy way to do blitting in state trackers, and to de-duplicate some code right now between two modules.
On Friday afternoon, Marek published a set of 23 patches to the Mesa mailing list
. The 23 patches add in 1.5k lines of new code while removing just 739 lines of code. So far he has tested this blit rework on the R300g, R600g, Softpipe, and LLVMpipe drivers. Nouveau is currently working on its own implementation.
Prior to merging master for the next post-9.0 Mesa release, Marek is currently soliciting reviews on the 23 Gallium3D blit patches.