You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to create smooth resize experience on Mac OS X.
Describe the solution you'd like
I want mlx_resize_callback redraw everything after executing my hook.
Describe alternatives you've considered
I wanted to call force-redraw from my hook myself, but I can't do it using only MLX42 public functions.
Additional context
When resizing the window on OS X, glfw.PollEvents() blocks and does not return until the user releases mouse button to stop resizing glfw/glfw#408 MLX42 only redraws in its main loop, so no update is possible while the loop is blocked by resizing. So on resize one gets distorted image and can't do anything about it.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to create smooth resize experience on Mac OS X.
Describe the solution you'd like
I want mlx_resize_callback redraw everything after executing my hook.
Describe alternatives you've considered
I wanted to call force-redraw from my hook myself, but I can't do it using only MLX42 public functions.
Additional context
When resizing the window on OS X, glfw.PollEvents() blocks and does not return until the user releases mouse button to stop resizing glfw/glfw#408 MLX42 only redraws in its main loop, so no update is possible while the loop is blocked by resizing. So on resize one gets distorted image and can't do anything about it.
The text was updated successfully, but these errors were encountered: