mesa/src/gallium/state_trackers
Nicholas Bishop aa560e8e63 st/dri: check pipe_screen->resource_get_handle() return value
Change dri2_query_image to check the return value of resource_get_handle
and return GL_FALSE if an error occurs.

For reference this is an example callstack that should propagate the
error back to the user:

    i915_drm_buffer_get_handle
    i915_texture_get_handle
    u_resource_get_handle_vtbl
    dri2_query_image
    gbm_dri_bo_get_fd
    gbm_bo_get_fd

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Nicholas Bishop <nbishop@neverware.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
[Emil Velikov: Split from larger patch, polish coding style, cc stable]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2016-09-27 13:37:21 +01:00
..
clover clover: fix getting scalar args api size 2016-09-16 22:09:47 +02:00
dri st/dri: check pipe_screen->resource_get_handle() return value 2016-09-27 13:37:21 +01:00
glx/xlib gallium: add a pipe_context parameter to fence_finish 2016-08-10 01:11:10 +02:00
hgl Introduce .editorconfig 2016-08-31 17:06:54 -07:00
nine gallium: remove PIPE_BIND_TRANSFER_READ/WRITE 2016-09-08 22:51:33 +02:00
omx st/omx/dec/h265: Correct the timestamping 2016-09-20 15:58:56 -04:00
osmesa st/osmesa: remove double-write (overwriting) 2016-06-02 07:05:05 -06:00
va st/va Avoid VBR bitrate calculation overflow v2 2016-09-27 14:21:45 +02:00
vdpau st/vdpau: flush the context before calling flush_frontbuffer 2016-09-20 11:18:07 +02:00
wgl st/wgl: make own_mutex() non-static 2016-06-30 15:29:07 -06:00
xa Introduce .editorconfig 2016-08-31 17:06:54 -07:00
xvmc st/xvmc: fix a couple 'unused-but-set-variable' warnings 2016-08-24 11:32:00 +01:00
README Code reorganization: placeholder for state-trackers. 2008-02-15 17:52:14 +09:00

This directory is a placeholder for incubating state-trackers. Mesa's
state-tracker is in src/mesa.