Benjamin Otte
41cd0c6f13
gl: Fix initial EGL context creation on X11
...
After commit 447bc18c48
EGL on X11 broke.
But the handling of the GL context also was quite awkward because it was
unclear who was responsible for ensuring it got reset.
Change that by making gdk_gl_context_clear_current_if_surface() return
the context (with a reference because it might be the last reference) it
had unset, so that after changing EGL properties the code that caused
the clearing can re-make it current.
This moves the responsibility to the actual code that is dealing with
updating properties and frees the outer layers of code from that task.
And that means the X11 EGL code doesn't need to care and the code in the
Wayland backend that did care can be removed.
Related: !7662
Fixes : #6964 on X11
2024-08-29 01:31:47 +02:00
..
2024-07-11 14:57:20 +02:00
2023-05-21 09:46:49 -04:00
2024-07-28 11:33:39 -04:00
2024-08-10 01:40:46 +02:00
2023-05-09 16:43:35 +01:00
2024-08-29 01:31:47 +02:00
2024-08-26 17:05:19 +02:00
2024-08-29 01:31:47 +02:00
2023-09-21 19:51:11 +02:00
2023-11-05 11:16:23 +01:00
2023-03-31 15:11:10 -04:00
2024-08-19 20:40:32 -04:00
2024-07-24 16:45:21 -06:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-05-10 21:22:03 -04:00
2023-05-15 20:30:38 -04:00
2023-05-15 18:22:37 -04:00
2024-08-10 01:40:45 +02:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-08-05 11:11:14 -04:00
2024-08-06 15:38:31 -04:00
2024-08-11 14:47:48 -04:00
2024-07-24 16:45:21 -06:00
2024-07-03 16:57:47 +01:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-08-05 11:11:14 -04:00
2024-08-14 11:45:25 -04:00
2024-08-11 06:51:58 +02:00
2024-08-06 00:06:41 -04:00
2024-08-17 18:12:23 +02:00
2024-07-24 16:45:21 -06:00
2024-08-17 18:12:23 +02:00
2022-10-05 23:01:28 -04:00
2022-09-23 23:14:08 -04:00
2024-07-03 16:57:47 +01:00
2023-05-09 17:36:59 +01:00
2023-06-09 08:17:34 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-07-03 16:57:47 +01:00
2023-05-09 17:36:59 +01:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-07-03 16:57:47 +01:00
2023-05-09 17:36:59 +01:00
2024-04-04 01:07:28 +02:00
2024-06-01 09:04:00 +02:00
2024-04-04 01:07:28 +02:00
2024-08-19 20:40:32 -04:00
2024-01-13 01:30:02 +01:00
2023-05-09 17:36:59 +01:00
2021-05-22 17:25:26 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2022-12-08 12:16:22 +00:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-07-10 22:11:13 +02:00
2024-07-10 22:11:13 +02:00
2024-08-19 20:40:32 -04:00
2024-01-25 12:09:10 +01:00
2023-05-01 10:40:26 -04:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2024-07-22 19:40:24 +02:00
2024-08-07 19:06:02 +02:00
2024-07-16 21:23:44 +02:00
2024-07-16 21:23:44 +02:00
2024-05-07 00:34:47 +02:00
2023-12-20 01:51:46 +01:00
2024-07-27 20:16:21 +01:00
2024-07-23 19:55:47 +02:00
2023-10-24 22:33:45 -04:00
2023-10-14 22:29:10 +02:00
2023-10-14 22:29:10 +02:00
2024-08-08 19:03:31 +00:00
2024-07-16 21:23:44 +02:00
2024-07-22 14:54:05 +02:00
2023-12-20 01:51:46 +01:00
2024-08-19 20:40:32 -04:00
2024-07-16 21:23:44 +02:00
2024-04-07 11:12:13 -04:00
2024-04-07 11:12:13 -04:00
2024-03-21 21:36:38 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-03-26 15:50:22 +01:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2023-03-20 08:14:25 +00:00
2023-05-09 17:36:59 +01:00
2023-03-14 19:41:44 -07:00
2024-08-13 13:23:20 -04:00
2024-08-10 01:40:45 +02:00
2024-08-10 01:40:46 +02:00
2024-07-03 16:57:47 +01:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-06-28 10:29:58 +02:00
2024-07-29 20:07:13 +02:00
2023-12-22 08:47:47 -05:00
2024-02-07 16:36:26 +01:00
2024-03-10 10:27:36 +01:00
2023-03-31 15:11:10 -04:00
2024-05-01 08:03:16 -04:00
2023-03-31 15:11:10 -04:00
2024-03-10 10:27:36 +01:00
2023-03-14 14:56:42 -04:00
2023-05-09 17:36:59 +01:00
2024-03-16 13:44:02 +01:00
2024-08-29 01:31:47 +02:00
2023-05-09 17:36:59 +01:00
2024-08-29 01:31:47 +02:00
2021-09-24 22:50:29 +02:00
2024-07-16 21:23:44 +02:00
2023-05-09 17:36:59 +01:00
2024-07-16 21:23:44 +02:00
2024-07-16 21:23:44 +02:00
2023-04-27 06:55:37 +02:00
2023-04-27 02:13:33 +02:00
2021-09-10 16:56:42 -05:00
2023-03-31 15:11:10 -04:00
2022-09-24 10:03:37 -04:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2022-01-13 14:42:34 +00:00
2023-03-31 15:11:10 -04:00
2022-01-29 14:31:09 +02:00
2021-12-07 22:21:19 -08:00
2024-08-07 08:22:05 -04:00
2024-08-07 08:22:05 -04:00
2024-08-10 22:24:29 -04:00
2023-05-09 17:36:59 +01:00
2024-07-16 21:23:44 +02:00
2024-07-16 21:23:44 +02:00
2024-07-16 21:23:44 +02:00
2024-08-17 08:26:55 -04:00
2024-01-30 20:56:08 -05:00
2024-04-09 19:13:34 -04:00
2024-01-05 14:57:07 -05:00
2024-03-29 13:31:36 +00:00
2022-09-23 23:33:42 -04:00
2023-05-09 17:36:59 +01:00
2023-10-10 11:23:08 +03:00
2023-05-09 17:36:59 +01:00
2024-06-26 07:33:15 -04:00
2023-03-31 15:11:10 -04:00
2024-01-05 14:57:07 -05:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2023-07-20 15:18:13 -04:00
2024-01-21 14:02:08 -05:00
2023-03-31 15:11:10 -04:00
2021-05-22 17:25:26 -04:00
2024-01-06 17:18:18 -05:00
2024-08-10 01:40:46 +02:00
2024-05-31 21:29:49 -04:00
2023-12-02 10:55:35 +05:45
2024-05-31 21:29:49 -04:00
2022-09-23 23:33:42 -04:00
2023-06-14 01:42:53 +02:00
2021-09-27 23:19:33 +03:00
2023-03-31 15:11:10 -04:00
2023-03-31 15:11:10 -04:00
2024-01-05 14:57:07 -05:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-08-14 08:30:55 +02:00
2024-07-10 12:36:07 +02:00
2024-08-29 01:31:47 +02:00
2024-08-10 01:40:46 +02:00
2024-08-10 01:40:46 +02:00
2024-07-26 17:27:20 -04:00
2024-07-11 14:57:19 +02:00
2024-07-26 17:38:27 -04:00
2024-07-16 21:23:44 +02:00
2024-07-16 21:23:44 +02:00
2024-07-16 21:23:44 +02:00
2024-06-29 15:14:33 +02:00
2024-08-24 08:38:19 -04:00
2021-05-22 17:25:26 -04:00
2023-05-09 17:36:59 +01:00
2023-05-14 23:49:44 -04:00
2024-01-25 12:09:10 +01:00
2023-05-09 17:36:59 +01:00
2023-03-31 15:11:10 -04:00
2024-07-24 16:45:21 -06:00
2024-08-23 20:04:46 +02:00
2024-01-07 14:47:22 +01:00
2024-08-08 04:41:16 +02:00
2021-10-06 03:44:36 +02:00
2022-09-24 10:03:37 -04:00
2022-09-24 10:03:37 -04:00
2024-08-05 11:11:14 -04:00