mesa/src/gallium/frontends/wgl
Jesse Natalie 1ef329b825 wgl, d3d12: Handle front buffer writes for double-buffered MSAA surfaces backed by swapchains
We don't need to go as far as the fake front thing when MSAA is being used, because the
swapchain (single-sampled) is already decoupled from the app render buffers. But we do
need to direct the frontbuffer flush to the single-sampled back buffer, and then present
the back buffer. We also need to swap the buffers when we do this, so the next blit
targets the former front buffer.

Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16227>
2022-06-01 16:18:12 -07:00
..
gldrv.h
meson.build wgl: Add driver_zink as a dependency of the wgl frontend 2022-05-18 02:18:06 +00:00
stw_context.c wgl: Implement WGL_ARB_create_context_robustness 2022-04-28 19:33:04 +00:00
stw_context.h wgl: Implement WGL_ARB_create_context_robustness 2022-04-28 19:33:04 +00:00
stw_device.c wgl: add a flag to determine if running on zink 2022-04-22 01:11:52 +00:00
stw_device.h wgl: add a flag to determine if running on zink 2022-04-22 01:11:52 +00:00
stw_ext_context.c wgl: Implement WGL_ARB_create_context_robustness 2022-04-28 19:33:04 +00:00
stw_ext_context.h wgl: Make overridden entrypoints local to stw_ext_context 2021-09-08 07:22:35 -07:00
stw_ext_extensionsstring.c wgl: Implement WGL_ARB_create_context_robustness 2022-04-28 19:33:04 +00:00
stw_ext_pbuffer.c wgl: Use HWND instead of HDC as primary framebuffer handle 2021-09-15 20:17:31 +00:00
stw_ext_pixelformat.c
stw_ext_rendertexture.c wgl: Make contexts current with framebuffers instead of HDCs 2021-09-15 20:17:31 +00:00
stw_ext_swapinterval.c
stw_framebuffer.c wgl: support kopper 2022-04-22 01:11:52 +00:00
stw_framebuffer.h wgl: Swap buffers via pointer instead of HDC 2021-09-15 20:17:31 +00:00
stw_getprocaddress.c
stw_nopfuncs.c
stw_nopfuncs.h
stw_pixelformat.c wgl: rename force-msaa env-var 2022-04-08 13:15:12 +00:00
stw_pixelformat.h wgl: Add iPixelFormat to stw_pixelformat_info 2021-09-15 20:17:31 +00:00
stw_st.c wgl, d3d12: Handle front buffer writes for double-buffered MSAA surfaces backed by swapchains 2022-06-01 16:18:12 -07:00
stw_st.h wgl: Flush in-between resolving buffer and presenting 2020-11-18 11:17:17 +01:00
stw_tls.c
stw_tls.h
stw_winsys.h wgl: Use HWND instead of HDC as primary framebuffer handle 2021-09-15 20:17:31 +00:00