aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-02-07 16:50:50 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-02-07 16:50:50 -0800
commitb9eebce0aa5559855d835e403ba3bb5960baaadc (patch)
tree63c72a800e13a322acebeb9f4049cd1d0241cfdd /protocol
parentclient: Rename display->queue to default_queue (diff)
downloadwayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.tar
wayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.tar.gz
wayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.tar.bz2
wayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.tar.lz
wayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.tar.xz
wayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.tar.zst
wayland-b9eebce0aa5559855d835e403ba3bb5960baaadc.zip
client: Queue display events on private queue and always dispatch
The wl_display events (error and delete_id) need to be handled even if the default queue doesn't get dispatched for a while. For example, a busy EGL rendering loop hits wl_display.sync every eglSwapBuffers() and we need to process the delete_id events to maintain the object ID data structure. As it is, that doesn't happen, but with this change we special case wl_display events. We put them on a custom, private queue and when dispatching events, we always dispatch display_queue events first. The wl_display proxy should still be the default_queue, so that objects created from wl_display requests get assigned to that.
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions