The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/main: Default to compute compositor on Android to work around issue #381

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

+9 -1
+1
doc/changes/compositor/mr.2236.md
··· 1 + android: Default to compute compositor to work around issue [381](https://gitlab.freedesktop.org/monado/monado/-/issues/381).
+8 -1
src/xrt/compositor/main/comp_settings.c
··· 10 10 #include "util/u_debug.h" 11 11 #include "comp_settings.h" 12 12 13 + #ifdef XRT_OS_ANDROID 14 + // temporary workaround for https://gitlab.freedesktop.org/monado/monado/-/issues/381 15 + #define USE_COMPUTE_DEFAULT true 16 + #else 17 + #define USE_COMPUTE_DEFAULT false 18 + #endif 19 + 13 20 // clang-format off 14 21 DEBUG_GET_ONCE_LOG_OPTION(log, "XRT_COMPOSITOR_LOG", U_LOGGING_INFO) 15 22 DEBUG_GET_ONCE_BOOL_OPTION(print_modes, "XRT_COMPOSITOR_PRINT_MODES", false) ··· 27 34 DEBUG_GET_ONCE_BOOL_OPTION(xcb_fullscreen, "XRT_COMPOSITOR_XCB_FULLSCREEN", false) 28 35 DEBUG_GET_ONCE_NUM_OPTION(xcb_display, "XRT_COMPOSITOR_XCB_DISPLAY", -1) 29 36 DEBUG_GET_ONCE_NUM_OPTION(default_framerate, "XRT_COMPOSITOR_DEFAULT_FRAMERATE", 60) 30 - DEBUG_GET_ONCE_BOOL_OPTION(compute, "XRT_COMPOSITOR_COMPUTE", false) 37 + DEBUG_GET_ONCE_BOOL_OPTION(compute, "XRT_COMPOSITOR_COMPUTE", USE_COMPUTE_DEFAULT) 31 38 // clang-format on 32 39 33 40 static inline void