Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Dual/"universal" OF app (e.g. Linux OpenGL + Android)?

$
0
0

Say, I have an app where I'd decide to draw the entire UI in OpenGL. Then:

  • Is it in principle possible to have this application build from the same codebase for both, say, Linux (as an OpenGL application), and for Android - possibly by using two separate make calls (for instance, something like make linux vs. make android)?
  • Is there an existing example for something like this already, which I could consult?

Slightly more complicated - let's say in this application, I'd use some of the Android API, say screen rotation. Would it be in principle possible to build a Linux OpenGL version out of it, such that the Android-specific functionality will be automatically removed, without placing #ifdefs manually?

Thanks in advance for any pointers,
Cheers!


Viewing all articles
Browse latest Browse all 40524

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>