mesa/src
Charmaine Lee d1443da4f0 st/mesa: purge framebuffers with current context after unbinding winsys buffers
With commit c89e8470e5, framebuffers are purged after unbinding context,
but this change also introduces a heap corruption when running Rhino application
on VMware svga device. Instead of purging the framebuffers after the context
is unbound, this patch first ubinds the winsys buffers, then purges the framebuffers
with the current context, and then finally unbinds the context.

This fixes heap corruption.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit b480adfa5e)
2019-05-21 09:11:03 -07:00
..
amd radv: add a workaround for Monster Hunter World and LLVM 7&8 2019-05-17 15:20:14 -07:00
broadcom v3d: Bump the maximum texture size to 4k for V3D 4.x. 2019-04-05 09:07:57 -07:00
compiler Revert "nir: add late opt to turn inot/b2f combos back to bcsel" 2019-05-17 15:30:00 -07:00
egl egl: return correct error code for a case req ver < 3 with forward-compatible 2019-05-08 16:40:18 -07:00
freedreno Revert "nir/opt_peephole_select: Don't peephole_select expensive math instructions" 2019-02-12 09:42:16 -08:00
gallium meson: expose glapi through osmesa 2019-05-20 09:52:56 -07:00
gbm meson: Add tests to suites 2018-11-20 09:09:22 -08:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 16:40:19 -07:00
gtest meson: hide warnings from external project gtest 2018-10-31 18:20:25 +00:00
hgl
intel anv: Only consider minSampleShading when sampleShadingEnable is set 2019-05-17 15:20:39 -07:00
loader loader/dri3: Use strlen instead of sizeof for creating VRR property atom 2019-02-05 11:41:48 -08:00
mapi Revert "meson: drop GLESv1 .so version back to 1.0.0" 2019-05-08 16:40:18 -07:00
mesa st/mesa: purge framebuffers with current context after unbinding winsys buffers 2019-05-21 09:11:03 -07:00
util radeonsi: add config entry for Counter-Strike Global Offensive 2019-05-08 16:40:19 -07:00
vulkan vulkan/wsi/wayland: Respect non-blocking AcquireNextImage 2019-05-08 16:40:18 -07:00
Makefile.am freedreno: move drm to common location 2018-11-27 15:44:02 -05:00
meson.build TODO: glx: meson: build dri based glx tests, only with -Dglx=dri 2018-12-12 17:47:36 +00:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00