Skip to content

gallium/dri: Add winsys surface support for MSAA render to single sampled.

Emma Anholt requested to merge anholt/mesa:winsys-msaa into main
The MSAA winsys code previously allocated MSAA resources and did rendering
to those, then emitted an MSAA resolve blit to the actual window system
surface at swap time.  If we have PIPE_CAP_SURFACE_SAMPLE_COUNT, though,
we can do MSAA rendering directly to the single sampled window system
surface and let the driver resolve as appropriate. For tilers, they do the
MSAA entirely within their tile buffers and resolve "for free" at store

Fixes: #8724

Merge request reports