From c218fd08446664cd87608b6592405fd461e93f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org> Date: Thu, 14 Sep 2023 12:57:17 +0200 Subject: [PATCH] st3m_gfx: change default graphics mode to 16bpp+osd+low_latency This is a measure taken against issue #131 which seems to be a race/concurrent access issue when OSD is combined with having 3 concurrent ctx drawlists in flight. For apps using the accelerometer or gyroscope to compute transforms/actions this is an improvement, this might also generally be a benefit for many music interfaces. In the cases where the deeper pipeline brings benefit apps can set a custom graphics mode with deeper pipeline and no osd, though for instance in the menus the frame rate achieved seems to now be the same for both types. --- components/st3m/st3m_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/st3m/st3m_gfx.c b/components/st3m/st3m_gfx.c index 9b2a72f4e3..099c6b7bc9 100644 --- a/components/st3m/st3m_gfx.c +++ b/components/st3m/st3m_gfx.c @@ -26,7 +26,7 @@ #include "st3m_counter.h" #include "st3m_version.h" -#define ST3M_GFX_DEFAULT_MODE (16 | st3m_gfx_osd) +#define ST3M_GFX_DEFAULT_MODE (16 | st3m_gfx_osd | st3m_gfx_low_latency) static st3m_gfx_mode default_mode = ST3M_GFX_DEFAULT_MODE; -- GitLab