The open source OpenXR runtime

aux/ogl: always return false in ogl_import_from_native for AHardwareBuffer

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>

authored by Simon Zeni and committed by Rylie Pavlik 7cbcf92c 967847c7

Changed files
+6
src
xrt
auxiliary
+6
src/xrt/auxiliary/ogl/ogl_helpers.c
··· 98 98 const struct xrt_swapchain_create_info *info, 99 99 struct ogl_import_results *results) 100 100 { 101 + #if defined(XRT_OS_ANDROID_USE_AHB) 102 + // Function is disabled for AHardwareBuffer, glImportMemoryFdEXT requires an actual FD and requires more work 103 + // to handle AHardwareBuffer. 104 + return false; 105 + #endif 106 + 101 107 // Setup fields. 102 108 results->width = info->width; 103 109 results->height = info->height;