Skip to content
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

When to enable WSEGL_ENABLE_AGGRESSIVE_SYNC? #3

Open
sdikshit786 opened this issue May 29, 2023 · 1 comment
Open

When to enable WSEGL_ENABLE_AGGRESSIVE_SYNC? #3

sdikshit786 opened this issue May 29, 2023 · 1 comment

Comments

@sdikshit786
Copy link

if (display->aggressive_sync)

Please guide on the use case when we should enable WSEGL_ENABLE_AGGRESSIVE_SYNC and why we need this?

@NguyenBNguyen
Copy link

NguyenBNguyen commented Jun 13, 2023

Hello sdikshit786,
Due to the specification of Weston, the surface may not be updated for event waiting status under certain conditions in the double buffer constitution(#export WSEGL_NUM_BUFFERS=2). As the action in this software, by specifying to 1 in the environment variable (#export WSEGL_ENABLE_AGGRESSIVE_SYNC=1), the process of synchronization is requested, and then the event is came out
For example, when using 'weston-simple-egl -f' with double buffers and gl-renderer in Weston, we can send wl_display_sync() aggressively in wayland_wait_for_buffer_release().

Br
Nguyen BNguyen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants