Entradas

SRM v0.2.0-1 Release

Imagen
SRM (0.2.0-1) Release Notes Additions: Introducing  srmCoreSuspend()  and  srmCoreResume()  functions for seamless libseat session switching. New  srmConnectorGetRendererDevice()  function simplifies OpenGL texture ID retrieval, reducing repetitive calls. Internal Changes: Transitioned from using poll to epoll for more efficient udev monitor event handling. Bug Fixes: Udev hotplugging events are now queued during SRM suspension and emitted upon restoration, resolving connector initialization issues. Fixed the bug where connector rendering threads did not block when suspended. Learn more and download on  GitHub . Cuarzo Software

Creating an OpenGL app without display server on Linux (tutorial)

Imagen
Are you in the process of crafting an OpenGL application but wish to remain independent of display servers like Wayland or X11? Perhaps you're developing a graphical application for a resource-constrained embedded device, or you've ventured into the creation of your own display server, only to encounter challenges when using the low-level DRM/KMS API. If any of these scenarios resonate with you, you've come to the right place. In this tutorial, we will guide you through the process of creating an OpenGL application using the SRM library, which stands for Simple Rendering Manager. This library streamlines the configuration of all available GPUs and displays, allowing you to concentrate on developing your OpenGL ES 2.0 application. Moreover, it offers valuable features such as listeners for display hotplugging events, such as HDMI display connections and disconnections. Additionally, it facilitates rendering with multiple GPUs and enables texture sharing between them, all thr