adamwulf / JotUI

OpenGL based drawing view built for and used by Loose Leaf for iPad
http://getlooseleaf.com/opensource/
MIT License
268 stars 28 forks source link

OpenGL to Metal port #47

Open ekurutepe opened 4 years ago

ekurutepe commented 4 years ago

First of all, thanks for this great library!

Now that OpenGLES has been deprecated since iOS12, are there any plans to port JotUI to Metal?

How much work do you recon it would involve?

Cheers,

Engin.

adamwulf commented 4 years ago

Hi! I've thought about it, but my OpenGL-foo isn't great to begin with, I think i'd struggle considerably to port it to Metal. I've no idea how hard it would be, i haven't looked much into Metal. JotUI uses VBOs and some simple shaders, it's not terribly complicated as far as OpenGL goes, but I'm not at all confident in my ability to migrate it over any time soon.

that said, i am looking into other options for drawable views at https://github.com/adamwulf/DrawUI. I'd like to try to build something that's a) easier to maintain, and b) allows hot-swapping out rendering methods while keeping the same functionality. I think it's more likely that i'll build a fresh Metal renderer there than I would upgrade this one.