https://bugs.freedesktop.org/show_bug.cgi?id=63078

--- Comment #1 from post+...@ralfj.de ---
I found the problem: In platform_x11.c, dri2_initialize_x11_dri2, the function
dri2_add_configs_for_visuals (which sets the maximum swap interval of the
EGLConfigs) is called before dri2_setup_swap_interval, so
dri2_dpy->max_swap_interval is still 0 when the config is created. Later, it is
changed, but that does not reflect in the EGLConfigs.
I can fix the issue locally by moving the call of dri2_setup_swap_interval
before the one to dri2_add_configs_for_visuals, but not knowing this codebase
at all, I do not know whether everything is actually properly initialised for
dri2_setup_swap_interval to be safe to call. All I know is that it does not
crash here ;-) and applications can be v-sync'ed again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to