Marc-André Lureau
88738ea40b
ui/console: fix qemu_console_resize() regression
...
The display may be corrupted when changing screen colour depth in
qemu-system-ppc/MacOS since 7.0.
Do not short-cut qemu_console_resize() if the surface is backed by vga
vram. When the scanout isn't set, or it is already allocated, or opengl,
and the size is fitting, we still avoid the reallocation & replace path.
Fixes: commit cb8962c1 ("ui: do not create a surface when resizing a GL scanout")
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220725115815.2461322-1-marcandre.lureau@redhat.com>
2022-08-18 10:46:55 +04:00
..
2020-10-26 07:08:38 -04:00
2021-07-26 10:24:49 +02:00
2020-09-30 19:09:19 +02:00
2022-03-04 11:29:34 +01:00
2022-07-13 00:06:02 +02:00
2022-03-04 11:28:37 +01:00
2022-08-18 10:46:55 +04:00
2019-03-11 08:39:02 +01:00
2021-11-19 10:18:27 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2022-04-07 12:30:54 +02:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2022-03-14 15:16:08 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2022-03-15 12:54:59 +04:00
2021-12-21 10:50:22 +04:00
2022-07-19 14:35:00 +02:00
2022-05-11 16:50:01 +02:00
2021-12-21 10:50:21 +04:00
2022-03-14 15:16:05 +04:00
2021-11-05 12:29:44 +01:00
2022-04-06 14:31:55 +02:00
2022-06-14 10:34:37 +02:00
2022-06-14 10:34:37 +02:00
2022-07-19 14:36:42 +02:00
2021-08-02 12:55:51 +01:00
2019-09-17 13:43:22 +02:00
2020-08-21 06:18:30 -04:00
2022-01-13 15:33:18 +01:00
2022-05-03 15:52:37 +04:00
2022-06-28 11:06:02 +02:00
2019-08-16 13:31:52 +02:00
2022-04-06 14:31:55 +02:00
2019-06-12 13:20:20 +02:00
2022-07-28 13:08:29 +02:00
2021-05-27 12:07:37 +02:00
2012-12-19 08:31:30 +01: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
2020-05-19 09:06:44 +02:00
2022-06-03 08:03:28 +02:00
2022-03-14 15:16:16 +04:00
2021-07-26 10:24:49 +02:00
2021-12-21 10:50:21 +04:00
2022-03-14 15:16:01 +04:00
2020-10-21 15:46:14 +02:00
2020-10-21 15:46:14 +02:00
2022-06-14 10:34:36 +02:00
2020-08-21 06:18:24 -04:00
2021-08-31 14:31:43 +02:00
2021-12-21 10:50:21 +04:00
2022-08-01 11:58:02 +02:00
2012-12-19 08:31:30 +01:00
2017-07-27 14:23:09 +02: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
2016-07-12 16:20:46 +02:00
2022-04-06 14:31:55 +02:00
2019-02-05 16:50:18 +01:00
2016-02-04 17:01:04 +00:00
2022-04-27 07:50:28 +02:00
2016-07-12 16:19:16 +02:00
2019-09-17 13:45:10 +02:00
2020-08-21 06:18:30 -04:00
2020-08-21 06:18:30 -04:00
2016-07-12 16:19:16 +02:00
2019-01-11 15:46:56 +01:00
2019-02-05 16:50:18 +01:00
2021-03-15 17:37:50 +01:00
2017-02-08 14:59:36 +01:00
2016-06-07 18:19:24 +03:00
2018-02-09 13:52:15 +01:00
2021-01-23 15:55:07 -05:00
2020-11-04 08:25:17 +01:00
2016-07-12 16:20:46 +02:00
2022-04-27 10:49:28 -07:00
2022-04-27 07:50:28 +02:00
2020-05-19 09:06:44 +02:00
2021-05-02 17:24:50 +02:00
2018-01-25 15:02:00 +01:00