mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Simplify EGLImageFactory and remove caching logic for now
The platforms that would most benefit (embedded V4L2 decoders) either don't use frame pooling or don't synchronize with modified DMA-BUFs unless eglCreateImage() is called each time.
This commit is contained in:
1 parent
085480e9f4
commit
3e5aa9b127
8 files changed
+29
-98
No files matched your search
@@ -1497,8 +1497,8 @@ ssize_t DrmRenderer::exportEGLImages(AVFrame *frame, EGLDisplay dpy,
|
||||
return m_EglImageFactory.exportDRMImages(frame, dpy, images);
|
||||
}
|
||||
|
||||
void DrmRenderer::freeEGLImages(EGLDisplay dpy, EGLImage images[EGL_MAX_PLANES]) {
|
||||
m_EglImageFactory.freeEGLImages(dpy, images);
|
||||
void DrmRenderer::freeEGLImages() {
|
||||
m_EglImageFactory.freeEGLImages();
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user