[client] ds: tell the display server if jitRender is requested

This commit is contained in:
Geoffrey McRae committed 2021-08-04 06:05:42 +10:00
1 parent 366ec16a63
commit 4e435e6199
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -92,6 +92,10 @@ typedef struct LG_DSInitParams
// if true the renderer requires an OpenGL context
bool opengl;
// x11 needs to know if this is in use so we can decide to setup for
// presentation times
bool jitRender;
}
LG_DSInitParams;
+2 -1
View File
@@ -958,7 +958,8 @@ static int lg_run(void)
.resizable = g_params.allowResize,
.borderless = g_params.borderless,
.maximize = g_params.maximize,
.opengl = needsOpenGL
.opengl = needsOpenGL,
.jitRender = g_params.jitRender
};
g_state.dsInitialized = g_state.ds->init(params);