Abstract:
In this paper, the task of embedding computer visualization, performed using the Vulkan API, into OpenGL-based software complexes, is considered. A low-level hybrid approach to implement the collaboration of two APIs within the same application is described, as well as, the organization and synchronization of access to shared resources. The technology is proposed, which "encapsulates" the hybrid approach in a separate library module (VK-capsule) with a high-level interface that is dynamically linked to the executable module of OpenGL-complex (GL-visualizer). The paper describes methods for construction of the interface and connection of the VK-capsule, providing minimal intrusion into GL-visualizer. Based on the proposed methods and technology, a prototype of modular software complex implementing hybrid Vulkan-OpenGL visualization was developed. The approbation of the created complex was carried out, which confirmed the adequacy of the proposed solutions to the task assigned and the possibility of using them to expand the capabilities of visualization systems built on the OpenGL.