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

Wait for vsync in lcd_blit calls #159

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vogtinator
Copy link
Contributor

Seems to work in firebird, not tested on HW yet.

@Vogtinator
Copy link
Contributor Author

It might not be safe to call idle() inside resources code as the application might've configured the used timer weirdly. So this needs some testing first.

@KryptonicDragon
Copy link

I believe it might be useful to have two separate lcd_blit() commands, one that waits for vsync, and one that doesn't.

@gameblabla
Copy link

gameblabla commented Nov 20, 2020

Used the wait_for_vsync code (separately, not within ndless) for my Picodrive port and it seemed to work fine on real hardware for the tester so far at least.

@gameblabla
Copy link

Hmm, so the vsync code seems not to work properly, even when used outside of lcd_blit and within the app itself.
At least that's the case on my CX II with Temper.

@Vogtinator
Copy link
Contributor Author

Yeah, the CX HW-W+ LCD (so also CX II) needs some more tricks to get proper vsync.

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

Successfully merging this pull request may close these issues.

3 participants