-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(wayland) : buffer->busy is always true in cpu render mode #242
base: master
Are you sure you want to change the base?
Conversation
It may be a bad solution but it's useful. (May be we can find a better solution to solove this problem.) Now, if else if (buffer->busy)
{
LV_LOG_WARN("skip flush since wayland backing buffer is busy");
lv_disp_flush_ready(disp_drv);
return;
} |
Thanks for this PR. Unfortunately, I don't know the Wayland driver in such detail to comment so I tag @WallaceIT @simplejack-src, the former contributors of this driver. Could you take a look a guys? |
Hi @HR1025 , thank you for the analysis. If I understand well, in the CPU renderer case the release events are not sent by weston because we keep updating the same I'm not sure yours is the most correct solution, as it might lead to concurrent usage of a buffer. We should probably destroy and re-create the @simplejack-src do you have some other ideas? |
Yes, that's what I want to say.Thanks. |
@kisvegabor
|
@WallaceIT I will try it latter. Thanks. |
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
weston
is an implementation ofwayland
. Andweston
provide three render ways:In fact,
handle_wl_buffer_release
is only invoked in GPU render mode. Just like the comment state: