The open source OpenXR runtime
0
fork

Configure Feed

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

c/main: Add XRT_COMPOSITOR_DISABLE_DEFERRED env var

authored by

Christoph Haag and committed by
Jakob Bornecrantz
2abcc171 a594d6d8

+7
+7
src/xrt/compositor/main/comp_compositor.c
··· 80 80 81 81 #define WINDOW_TITLE "Monado" 82 82 83 + DEBUG_GET_ONCE_BOOL_OPTION(disable_deferred, "XRT_COMPOSITOR_DISABLE_DEFERRED", false) 84 + 83 85 84 86 /* 85 87 * ··· 774 776 static bool 775 777 compositor_check_deferred(struct comp_compositor *c, struct comp_target_factory *ctf) 776 778 { 779 + if (debug_get_bool_option_disable_deferred()) { 780 + COMP_DEBUG(c, "Deferred window initialization globally disabled!"); 781 + return false; 782 + } 783 + 777 784 if (!ctf->is_deferred) { 778 785 return false; // It is not deferred but that's okay. 779 786 }