Rendering libraries: Support in host and guests

Updated: April 19, 2023

Applications in the host and in guests can use the OpenGL and Vulkan APIs to render graphics. While QNX Neutrino and Android have some specific extensions and configurations required to use these APIs, no additional work is needed to use them in the QNX Advanced Virtualization Frameworks environment.

OpenGL is supported by modern versions of Android, and Vulkan is supported by the OS versions that can run as guests with this virtualization frameworks release. For information on the extensions and configuration steps needed to use each graphics API on a guest Android system, see the Android documentation.

To use OpenGL or Vulkan in QNX Neutrino (and hence, in the host in a virtualization frameworks system), your applications must include the necessary header files and set any needed compiler flags, and you must configure the Screen windowing system accordingly. The exact programming and configuration steps required are specific to the graphics API. Full details are given in the Khronos rendering APIs topic in the “Rendering” chapter of the Screen Developer's Guide.

CAUTION:
When you install the Shared GPU and Display framework, the version of Screen that supports the framework also should be installed automatically. This dependency is built into the QNX Software Center installation process, but be sure also to read the Release Notes for more details. If the version of Screen is incorrect, the framework may not operate properly, or a specific feature (e.g., Vulkan) may not be available.