OpenGL->Regal->MetalGL on OS X?


This topic contains 0 replies, has 1 voice, and was last updated by  adamtwar 2 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #773

    adamtwar
    Participant

    There are existing Mac OS X frameworks that use OpenGL rather than OpenGL ES. For example, Qt comes with an OpenGL implementation that includes a QOpenGLWidget class ( http://doc.qt.io/qt-5/qopenglwidget.html ) which can be used for fast 2D rendering. Qt “intelligently” uses either OpenGL or OpenGL ES, depending on the platform ( http://doc.qt.io/qt-5/qtgui-index.html#opengl-and-opengl-es-integration ), and I’m not sure whether Qt on Mac OS X can be easily “forced” to use GLES. However, there is the opensource Regal library ( https://github.com/p3/regal ) which provides a user-space OpenGL layer for an OpenGL ES 2.0 context. So I imagine that, at least in theory, it would be possible to build a Mac OS X app that uses Qt’s QOpenGLWidget classes, and then “pipe” Qt’s full-OpenGL calls through first Regal (which will translate them into OpenGL ES 2.0), and then through MetalGL. Is this something that anybody perhaps attempted?

Viewing 1 post (of 1 total)

The forum ‘MoltenGL Support’ is closed to new topics and replies.