-
I'm developing a small app using raylib on a raspberry pi. No X11 server, using the lite image and framebuffer (PLATFORM_DRM). Would it be possible to draw to a hdmi framebuffer for the monitor plugged in and another framebuffer running on the official 7 inch screen? Not necessarily the same app, can be two different seperate apps. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After some research it looks like it's technically possible with the libdrm, but it looks like there would be quite a bit of changes needed on raylib side. Also two different apps can't use the drm at same time (not neccesarily a problem). Basically a single app would need to connect to the drm card and then create two buffers and set them to the 2 different outputs. So it looks technically possible but not without some changes to rcore_drm.c and even raylib (don't think it can handle seperate "windows"). |
Beta Was this translation helpful? Give feedback.
After some research it looks like it's technically possible with the libdrm, but it looks like there would be quite a bit of changes needed on raylib side. Also two different apps can't use the drm at same time (not neccesarily a problem). Basically a single app would need to connect to the drm card and then create two buffers and set them to the 2 different outputs. So it looks technically possible but not without some changes to rcore_drm.c and even raylib (don't think it can handle seperate "windows").