Marc-André Lureau
6cdcf88107
ui/console: fix texture leak when calling surface_gl_create_texture()
...
Make surface_gl_create_texture() idempotent: if the surface is already
bound to a texture, do not create a new one.
This fixes texture leaks when there are multiple DBus listeners, for
example.
Reported-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220214201337.1814787-3-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2022-03-04 11:28:37 +01:00
..
2021-07-26 10:24:49 +02:00
2022-01-18 16:42:41 +00:00
2022-03-02 19:27:37 +00:00
2022-03-04 11:28:37 +01:00
2022-03-04 11:28:37 +01:00
2021-11-19 10:18:27 +01:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2022-01-13 10:48:43 +01:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:21 +04:00
2021-12-21 10:50:21 +04:00
2021-11-05 12:29:44 +01:00
2022-01-13 10:57:43 +01:00
2021-12-21 10:50:21 +04:00
2021-12-21 10:50:21 +04:00
2022-01-13 15:33:18 +01:00
2021-08-02 12:55:51 +01:00
2022-01-13 15:33:18 +01:00
2020-12-19 10:20:14 +01:00
2020-12-10 12:15:18 -05:00
2021-12-21 10:50:22 +04:00
2021-05-27 12:07:37 +02:00
2019-01-21 09:43:13 +01:00
2021-03-04 09:35:36 +01:00
2021-12-21 10:50:21 +04:00
2022-01-13 15:33:18 +01:00
2020-08-21 06:30:21 -04:00
2021-07-26 10:24:49 +02:00
2021-12-21 10:50:21 +04:00
2022-01-18 16:42:41 +00:00
2021-12-21 10:50:22 +04:00
2021-08-31 14:31:43 +02:00
2021-12-21 10:50:21 +04:00
2021-12-21 10:50:21 +04:00
2021-06-15 17:17:09 +02:00
2021-06-15 17:17:09 +02:00
2020-11-04 08:25:17 +01:00
2021-12-21 10:50:21 +04:00
2021-03-15 17:37:50 +01:00
2021-01-23 15:55:07 -05:00
2020-11-04 08:25:17 +01:00
2022-01-13 10:46:33 +01:00
2021-05-21 09:42:44 +02:00
2021-05-02 17:24:50 +02:00