mesa/src
Zhongmin Wu 7343d27136 egl/android: Use per surface out fence
Use the plumbing introduced with previous patch to interact with the
Android framework.

Namely: currently we use an invalid fd of -1 for our calls to
ANativeWindow::{queue,cancel}Buffer.

At the same time applications (like flatland) may rely on it being
a valid one. Thus as they attempt to query the timestamp of the fence,
they get unexpected results/behaviour.

In the case of flatland - the benchmark hang inside getSignalTime().

Make use of the out fence and pass the correct fd to Android.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101655
Signed-off-by: Zhongmin Wu <zhongmin.wu@intel.com>
Signed-off-by: Yogesh Marathe <yogesh.marathe@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
[Emil Velikov: split from larger patch]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-19 12:12:29 +01:00
..
amd radv: replace conditional compilation with MAYBE_UNUSED 2017-09-19 09:46:18 +01:00
broadcom broadcom/genxml: Add V3D 3.3 packet definitions. 2017-08-18 12:54:13 -07:00
compiler glsl: replace conditional compilation with MAYBE_UNUSED 2017-09-19 09:46:08 +01:00
egl egl/android: Use per surface out fence 2017-09-19 12:12:29 +01:00
gallium broadcom/vc4: Fix use-after-free when deleting a program. 2017-09-18 20:17:25 -07:00
gbm gbm: Add gbm_device_get_format_modifier_plane_count to test 2017-09-17 12:53:46 +03:00
getopt
glx glx: turn LIBGL_NO_DRAWARRAYS into a boolean 2017-09-12 13:53:12 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl
intel anv/android: Disable surface and swapchain extensions (v2) 2017-09-18 14:27:27 -07:00
loader loader/dri3: Make sure we invalidate a drawable on size change 2017-09-07 12:43:29 +02:00
mapi mapi/gen: remove shebang from the marshal generator scripts 2017-08-26 11:20:08 +01:00
mesa i965: Fix batch map failure check in INTEL_DEBUG=bat handling. 2017-09-18 18:51:26 -07:00
util radeonsi: allow out-of-order rasterization in commutative blending cases 2017-09-18 11:25:20 +02:00
vulkan vulkan/registry: Feed vk_android_native_buffer.xml to gen_enum_to_str.py 2017-09-18 14:26:54 -07:00
Makefile.am vulkan/registry: Add VK_ANDROID_native_buffer 2017-09-18 14:26:54 -07:00
SConscript build: Convert git_sha1_gen script to Python. 2017-08-01 15:24:39 +01:00