[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/12] ui/shader: free associated programs
From: |
marcandre . lureau |
Subject: |
[PULL 07/12] ui/shader: free associated programs |
Date: |
Mon, 14 Mar 2022 16:59:35 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
---
ui/shader.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/shader.c b/ui/shader.c
index 4c80fc831f68..ab448c41d4c6 100644
--- a/ui/shader.c
+++ b/ui/shader.c
@@ -172,5 +172,8 @@ void qemu_gl_fini_shader(QemuGLShader *gls)
if (!gls) {
return;
}
+ glDeleteProgram(gls->texture_blit_prog);
+ glDeleteProgram(gls->texture_blit_flip_prog);
+ glDeleteProgram(gls->texture_blit_vao);
g_free(gls);
}
--
2.35.1.273.ge6ebfd0e8cbb
- [PULL 00/12] dbus console fixes, marcandre . lureau, 2022/03/14
- [PULL 01/12] ui/console: move check for compatible GL context, marcandre . lureau, 2022/03/14
- [PULL 02/12] ui/console: move dcl compatiblity check to a callback, marcandre . lureau, 2022/03/14
- [PULL 03/12] ui/console: egl-headless is compatible with non-gl listeners, marcandre . lureau, 2022/03/14
- [PULL 04/12] ui/dbus: associate the DBusDisplayConsole listener with the given console, marcandre . lureau, 2022/03/14
- [PULL 05/12] ui/console: move console compatibility check to dcl_display_console(), marcandre . lureau, 2022/03/14
- [PULL 06/12] ui/shader: fix potential leak of shader on error, marcandre . lureau, 2022/03/14
- [PULL 08/12] ui/console: add a dpy_gfx_switch callback helper, marcandre . lureau, 2022/03/14
- [PULL 09/12] ui/console: optionally update after gfx switch, marcandre . lureau, 2022/03/14
- [PULL 07/12] ui/shader: free associated programs,
marcandre . lureau <=
- [PULL 10/12] ui/dbus: fix texture sharing, marcandre . lureau, 2022/03/14
- [PULL 12/12] ui/console: call gfx_switch() even if the current scanout is GL, marcandre . lureau, 2022/03/14
- [PULL 11/12] ui/dbus: do not send 2d scanout until gfx_update, marcandre . lureau, 2022/03/14
- Re: [PULL 00/12] dbus console fixes, Peter Maydell, 2022/03/14