Do I need wl_frame_callback at all?

Martin Stransky stransky at redhat.com
Wed Nov 20 11:03:37 UTC 2019


Hi guys,

what happens and is it a correct behavior when application does not use 
wl_frame_callback at all and just do the drawing (wl_surface_commit) 
whatever it has a data do draw?

I know it may be sub-optimal to draw more frequently but I'd need to 
cache the visual data elsewhere otherwise so it easier for me to just 
put it at compositor instead to store it offscreen and then copy it to 
wl_buffer when wl_frame_callback comes.

Thanks,
ma.

-- 
Martin Stransky
Software Engineer / Red Hat, Inc



More information about the wayland-devel mailing list