Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Library doesn't get page-flip notifications #36

Open
emersion opened this issue Nov 27, 2019 · 1 comment
Open

Library doesn't get page-flip notifications #36

emersion opened this issue Nov 27, 2019 · 1 comment
Labels
question Further information is requested

Comments

@emersion
Copy link
Owner

The library has no way to figure out whether a page-flip happened. This is necessary for tracking the priority of each layer (at least as we do now, a time-based tracking wouldn't require that).

I've deliberately ignored this for now and assumed a page-flip would happen on liftoff_output_apply. It probably doesn't matter that much, since we're interested in update frequency differences between layers, not the actual page-flip events. I'll leave this issue opened just in case this causes some unexpected issues.

@emersion emersion added the question Further information is requested label Nov 27, 2019
@emersion
Copy link
Owner Author

emersion commented Jul 1, 2021

As an alternative, a drmCrtcGetSequence call at the beginning of liftoff_output_apply would allow us to know how many frames have been displayed since the last libliftoff invocation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant