Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3556

OpenGLES • Re: Pi4 export EGL image DMA-buf and import as libdrm framebuffer

$
0
0
[..]gut feel is that you should be able to pass exactly the same framebuffer handle you are using on the first crtc to the second one too
I can confirm that this does work. I do exactly that do spread one GL surface to both displays. I would guess rendering the texture twice at the correct framebuffer position would be easier but I’m still curious if it’s possible to zero copy a texture into one of those DRM handles to use for another framebuffer?

https://blaztinn.gitlab.io/post/dmabuf-texture-sharing/ sounds like it might help?

Statistics: Posted by dividuum — Fri Apr 05, 2024 9:15 pm



Viewing all articles
Browse latest Browse all 3556

Trending Articles