forked from enlightenment/efl
de5b36583d
Using the wb->buffer pointer to compare if a buffer was already sent is bad, since the buffer pointer can be changed in a way that that comparison is true, even if different buffers are used. When requesting a new buffer to the wl_shm_pool, it can return the buffer address of a previously freed buffer. This reused buffer pointer can be the same as the last buffer sent to the compositor, and the comparison will be true, skipping a new wl_buffer_attach. |
||
---|---|---|
.. | ||
buffer | ||
fb | ||
gl_cocoa | ||
gl_common | ||
gl_sdl | ||
gl_x11 | ||
psl1ght | ||
software_ddraw | ||
software_gdi | ||
software_generic | ||
software_x11 | ||
wayland_egl | ||
wayland_shm |