[client] egl: add option to set initial scale algorithm

The option is egl:scale. The scale algorithm number is displayed on the
alert to make it easier to specify the number for the option.
This commit is contained in:
Quantum
2021-02-22 00:03:50 -05:00
committed by Geoffrey McRae
parent 0512c88ea8
commit 30b5287c38
3 changed files with 26 additions and 4 deletions

View File

@@ -32,6 +32,9 @@ enum EGL_DesktopScaleType
EGL_DESKTOP_DOWNSCALE,
};
struct Option;
bool egl_desktop_scale_validate(struct Option * opt, const char ** error);
bool egl_desktop_init(EGL_Desktop ** desktop, EGLDisplay * display);
void egl_desktop_free(EGL_Desktop ** desktop);