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

refactoring to share common code between iOS and tvOS #88

Open
kambala-decapitator opened this issue Jan 3, 2020 · 2 comments
Open

Comments

@kambala-decapitator
Copy link

Currently iOS and tvOS have a lot of similar duplicated code. This needs to be refactored to use common code for both platforms. Examples: app delegate, root view controller, GL view.

Also, I suggest to switch to GLKViewController if possible instead of using plain CAEAGLLayer inside custom view/view controller.

@fuzzard
Copy link

fuzzard commented Jan 4, 2020

Is there a point to migrate to glkviewcontroller when both are deprecated in ios/tvos 12?
Easier to just stick with caeagllayer and look at how we bring in metal instead for the long term goal?

@kambala-decapitator
Copy link
Author

when Kodi was initially ported to iOS, GLKViewController wasn't available. Afterwards it has been added to iOS SDK to ease dealing with OpenGL surface.

Metal can be enabled almost out of the box with Molten VK as soon as Linux implementation of Vulkan is ready.

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