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

Is DRM missing cog_launcher_get_viewport()? #712

Open
vrazzer opened this issue May 13, 2024 · 0 comments
Open

Is DRM missing cog_launcher_get_viewport()? #712

vrazzer opened this issue May 13, 2024 · 0 comments

Comments

@vrazzer
Copy link

vrazzer commented May 13, 2024

Was trying to implement my own launcher (for very app-specific code) using cog-launcher. With the refactoring to view/viewports, it seems like cog-launcher needs a cog_launcher_get_viewport() function to query the viewport from the activate handler.

I tried getting the viewport from the view creation signal, but it does not work due to timing. Getting the platform handle prior to calling the launcher code is an error. Once activate is called, the view is already created and the create event is lost. Adding cog_launcher_get_viewport() unblocked development, but would be great to use an officially supported method. Thanks.

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

1 participant