1From 110ef8357ebaf24bc3995e631ec809a2f84c3b87 Mon Sep 17 00:00:00 2001 2From: Trevor Woerner <twoerner@gmail.com> 3Date: Thu, 3 Dec 2020 07:16:58 -0500 4Subject: [PATCH] run dispmanx fullscreen 5 6The dispmanx flavour can only run fullscreen, therefore set the size to 7fullscreen when glmark2-es2-dispmanx is run. 8 9Upstream-status: submitted [https://github.com/glmark2/glmark2/pull/135] 10Signed-off-by: Trevor Woerner <twoerner@gmail.com> 11--- 12 src/main.cpp | 5 +++++ 13 1 file changed, 5 insertions(+) 14 15diff --git a/src/main.cpp b/src/main.cpp 16index 677962e..273a217 100644 17--- a/src/main.cpp 18+++ b/src/main.cpp 19@@ -164,6 +164,11 @@ main(int argc, char *argv[]) 20 Options::size = std::pair<int,int>(800, 600); 21 } 22 23+#if GLMARK2_USE_DISPMANX 24+ /* dispmanx can only run fullscreen */ 25+ Options::size = std::pair<int,int>(-1, -1); 26+#endif 27+ 28 // Create the canvas 29 #if GLMARK2_USE_X11 30 NativeStateX11 native_state; 31