mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 08:48:07 +02:00
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>
|
||
|---|---|---|
| .. | ||
| clover | ||
| dri | ||
| glx/xlib | ||
| hgl | ||
| nine | ||
| omx | ||
| osmesa | ||
| va | ||
| vdpau | ||
| wgl | ||
| xa | ||
| xvmc | ||
| README | ||
This directory is a placeholder for incubating state-trackers. Mesa's state-tracker is in src/mesa.