Skip to content

comp: Choose best mode by default

Christoph Haag requested to merge christoph/direct_mode_choose_mode into master

Best mode means: first maximize the rendered pixels, then maximize the refresh rate.

Also allow choosing a mode with env var. Example: XRT_COMPOSITOR_MODE_WIDTH=640 XRT_COMPOSITOR_MODE_HEIGHT=480 XRT_COMPOSITOR_MODE_REFRESH=90 For now all three values have to be set to manually choose a mode.

Merge request reports