mesa/src
Rob Clark bfeff2c687 egl: zero is a valid fd
We shouldn't be using RETURN_EGL_EVAL() for eglDupNativeFenceFDANDROID()
return, as (while perhaps unlikely) zero is a valid fd.  The error case
for EGL_NO_NATIVE_FENCE_FD_ANDROID is already handled in egl_dri2.c
(dri2_dup_native_fence_fd()) so just use RETURN_EGL_SUCCESS() instead.

Also fix ret type.

Fixes: 0201f01dc4 ("egl: add EGL_ANDROID_native_fence_sync")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11202>
2021-06-07 20:14:25 +00:00
..
amd aco/scheduler: Move cursor handling state to dedicated interfaces 2021-06-07 12:09:39 +02:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
asahi agx: Handle load_back_face_agx 2021-06-05 20:38:22 +00:00
broadcom v3dv: fix incorrect render area setup 2021-06-07 11:25:22 +00:00
compiler nir: Add nir_intrinsic_load_back_face_agx 2021-06-05 20:38:22 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl: zero is a valid fd 2021-06-07 20:14:25 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno freedreno/regs: split old/not used phy registers to separate DB 2021-06-05 19:20:50 +00:00
gallium iris: Add a BO_ALLOC_SMEM flag for allocating from system memory 2021-06-07 10:35:25 -07:00
gbm gbm: list to stderr all the missing extension 2021-05-24 16:17:47 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/fs/ra: Fix payload node setup for SIMD16 on Gen4-5 2021-06-07 16:52:19 +00:00
loader loader: allocate VRAM in display GPU in case of prime 2021-06-03 09:12:32 +00:00
mapi util: Add a helper macro for defining initial-exec variables. 2021-06-02 03:10:49 +00:00
mesa st/pbo: use correct type for images and textures 2021-06-07 12:13:32 +00:00
microsoft microsoft/compiler: Maintain sorting of resource type in the context 2021-04-29 23:55:02 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Elucidate thread group split field 2021-06-01 19:10:28 +00:00
tool pps: Intel pps driver 2021-05-18 14:28:48 +00:00
util util/ra: Use the conflicting neighbor to skip unavailable registers. 2021-06-04 19:08:57 +00:00
virtio venus: unify VkNativeBufferANDROID and AHardwareBuffer image create info 2021-06-05 22:50:23 +00:00
vulkan vulkan/util: add vk_default_allocator 2021-06-03 08:13:26 +00:00
meson.build freedreno: Add freedreno pps driver 2021-05-10 15:34:07 +00:00