summaryrefslogtreecommitdiffstats
path: root/doxygen/header.html
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-12-13 23:30:45 -0500
committerKristian Høgsberg <krh@bitplanet.net>2013-01-14 16:39:15 -0500
commit90804e886de892cfedb8248a4f5700fd7422b94a (patch)
tree4da3086f840f2297bd37dc65f44fb6e94dd848d9 /doxygen/header.html
parentdc473c5f0a2f0dafd85a1b7bef22b3f4f39596bb (diff)
egl/wayland: Pull color buffers from dri2_surf->color_buffers pool
We used to keep the color buffers in the dri_buffers array and swap __DRI_BUFFER_BACK_LEFT and __DRI_BUFFER_FRONT_LEFT around there and swap third_buffer in in case we needed to triple buffer. That gets a little fidgety with all the swaps, so lets use the color_buffers pool like the gbm platform does. We track the color buffers, their corresponding wl_buffer and locked status here and just plug a free one into dri2_surf->buffers when we need to. This is a nice clean-up in itself, but it also sets us up to track buffer age in the color_buffers structs. Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Diffstat (limited to 'doxygen/header.html')
0 files changed, 0 insertions, 0 deletions