Re: [PATCH v1 2/6] ui/sdl2: Implement dpy dmabuf functions

2024-10-07 Thread Akihiko Odaki
On 2024/10/07 8:23, Dmitry Osipenko wrote: From: Pierre-Eric Pelloux-Prayer If EGL is used, we can rely on dmabuf to import textures without doing copies. To get this working on X11, we use the existing SDL hint: SDL_HINT_VIDEO_X11_FORCE_EGL (because dmabuf can't be used with GLX). Signed-off

[PATCH v1 2/6] ui/sdl2: Implement dpy dmabuf functions

2024-10-06 Thread Dmitry Osipenko
From: Pierre-Eric Pelloux-Prayer If EGL is used, we can rely on dmabuf to import textures without doing copies. To get this working on X11, we use the existing SDL hint: SDL_HINT_VIDEO_X11_FORCE_EGL (because dmabuf can't be used with GLX). Signed-off-by: Pierre-Eric Pelloux-Prayer Signed-off-b