Skip to content

Commit

Permalink
waylandws_client: only recreate buffer on resize
Browse files Browse the repository at this point in the history
Currently in case of window resize we return WSEGL_BAD_DRAWABLE
due to which IMG EGL deletes the drawable, and then recreate
the drawable from the native window.
But in the process of recreation the previous buffers are freed
up. Some of these buffers can be held by compositor.
In the new implementation we instead of deleting the whole
drawable only the buffers are recreated when needed.

Signed-off-by: Sunidhi Dixit <[email protected]>
  • Loading branch information
sdikshit786 committed Jun 12, 2023
1 parent 7df6c8b commit 1bbfd11
Showing 1 changed file with 86 additions and 70 deletions.
Loading

0 comments on commit 1bbfd11

Please sign in to comment.