backend/gl: specify the time uniform location in blit_shader_glsl
to avoid breaking custom animated shaders by having to specify it
themselves.
picom: fix the benchmark option
mimic the normal rendering routine by setting ps->render_queued to true
before setting and starting the draw timer.
picom: fix custom animated shaders
the draw timer has to be stopped before calling the draw_callback_impl
function because when there's a custom animated shader it calls the
queue_redraw funtion that calls the schedule_render function that sets
and starts the draw timer that gets immediately stopped otherwise.
this fixes the screen not being redirected back with unredir-if-possible
and a custom animated shader and only the first frame being drawn with
vsync, no-frame-pacing and a custom animated shader.
backend/gl: specify the time uniform location in blit_shader_glsl
to avoid breaking custom animated shaders by having to specify it themselves.
picom: fix the benchmark option
mimic the normal rendering routine by setting ps->render_queued to true before setting and starting the draw timer.
picom: fix custom animated shaders
the draw timer has to be stopped before calling the draw_callback_impl function because when there's a custom animated shader it calls the queue_redraw funtion that calls the schedule_render function that sets and starts the draw timer that gets immediately stopped otherwise.
this fixes the screen not being redirected back with unredir-if-possible and a custom animated shader and only the first frame being drawn with vsync, no-frame-pacing and a custom animated shader.