History log of /external/mesa3d/src/vulkan/wsi/wsi_common_queue.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
65ea559465df527d8a2998380c7eb2554780a2ba 25-Nov-2016 Gwan-gyeong Mun <elongbug@gmail.com> vulkan/wsi: Fix resource leak in success path of wsi_queue_init()

It fixes leakage of pthread_condattr resource on wsi_queue_init()

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
/external/mesa3d/src/vulkan/wsi/wsi_common_queue.h
932bb3f0ddf22a9cbdf6d45089547765027b4397 03-Nov-2016 Kevin Strasser <kevin.strasser@intel.com> vulkan/wsi: Add a thread-safe queue implementation

In order to support FIFO mode without blocking the application on calls
to vkQueuePresentKHR it is necessary to enqueue the request and defer
calling the server until the next vblank period. The xcb present api
doesn't offer a way to register a callback, so we will have to spawn a
worker thread that will wait for a request to be added to the queue, call
to the server, and then make the image available for reuse. This commit
introduces the queue data structure needed to implement this.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/vulkan/wsi/wsi_common_queue.h