stransky
52f3213a0f
Bug 1795851 [Wayland] Update EGL window size/scale in moz_container_wayland_get_egl_window() r=emilio
...
We need to return correct EGLWindow from moz_container_wayland_get_egl_window() with correct scale/size
and also keep the EGLWindow up to date. In this patch we do:
- Implement moz_container_wayland_egl_window_needs_size_update() and use it in nsWindow::SetEGLNativeWindowSize().
Avoid redundant moz_container_wayland_egl_window_set_size()/moz_container_wayland_set_scale_factor() calls as it may lead to resize callback calls to MESA.
- If wl_container::eglwindow is present, check its size/scale in moz_container_wayland_get_egl_window() and update size/scale if needed.
- Use nsIntSize single param instead of width/height pairs in some moz_container_* functions.
- Assert when gtk_widget_get_window(container) returns null.
Differential Revision: https://phabricator.services.mozilla.com/D163698
2022-12-06 15:18:32 +00:00
..
2022-12-03 11:19:56 +00:00
2022-12-03 11:19:56 +00:00
2022-02-09 17:29:47 +00:00
2022-12-06 15:18:32 +00:00
2022-12-02 20:30:07 +02:00
2022-10-18 09:06:18 +00:00
2022-12-04 23:41:42 +00:00
2022-06-02 11:58:18 +00:00
2022-12-05 19:30:35 +00:00
2022-06-02 23:50:44 +00:00
2022-08-18 15:49:52 +00:00
2022-08-05 02:55:22 +00:00
2022-06-30 09:12:18 +00:00
2022-04-20 09:32:07 +00:00
2022-07-26 14:06:24 +00:00
2022-02-07 22:33:41 +00:00
2022-02-07 22:33:38 +00:00
2022-02-07 22:33:37 +00:00
2022-02-10 00:39:42 +00:00
2022-10-06 01:07:16 +00:00
2022-10-28 12:36:05 +00:00
2022-10-28 12:36:05 +00:00
2022-11-22 16:00:15 +00:00
2022-10-28 12:36:06 +00:00
2022-05-06 23:37:25 +00:00
2022-05-06 23:37:25 +00:00
2022-12-02 16:15:55 +00:00
2022-09-29 14:06:03 +00:00
2022-09-29 14:06:03 +00:00
2021-11-29 20:52:31 +00:00
2022-11-22 06:52:52 +00:00
2022-11-22 06:52:52 +00:00
2022-11-09 19:31:08 +00:00
2022-11-22 06:52:48 +00:00
2022-12-02 20:30:07 +02:00
2022-02-15 08:00:05 +00:00
2022-02-28 14:53:24 +00:00
2022-02-28 14:53:24 +00:00
2022-09-27 22:16:29 +00:00
2022-06-14 19:41:30 +00:00
2022-06-14 19:41:30 +00:00
2022-08-23 11:05:45 +00:00
2022-08-23 11:05:45 +00:00
2022-08-10 23:55:08 +00:00
2022-05-05 12:10:08 +00:00
2022-11-22 06:52:53 +00:00
2022-11-22 06:52:53 +00:00
2021-11-15 12:39:38 +00:00
2022-11-28 12:22:51 +00:00
2022-07-25 20:19:48 +00:00
2022-07-25 20:19:48 +00:00
2022-06-30 09:12:18 +00:00
2022-06-22 07:52:59 +00:00
2022-06-07 12:32:55 +00:00
2022-05-23 19:34:40 +00:00
2022-08-26 16:08:06 +00:00
2022-07-25 20:19:48 +00:00
2022-11-22 06:52:52 +00:00
2022-06-14 19:41:30 +00:00
2022-06-14 15:01:52 +00:00
2022-12-02 20:30:07 +02:00
2022-08-15 20:27:26 +00:00
2022-05-20 17:33:22 +00:00
2022-05-23 19:34:40 +00:00
2022-10-28 12:36:06 +00:00
2022-03-01 14:16:48 +00:00
2021-11-02 18:08:08 +00:00
2022-05-13 15:26:07 +00:00
2021-11-16 08:17:02 +00:00
2022-11-29 21:08:08 +00:00
2022-10-30 10:32:28 +00:00
2022-05-26 21:04:26 +00:00
2022-05-06 23:37:25 +00:00
2022-02-17 16:22:57 +00:00
2022-10-28 18:08:17 +00:00
2022-09-02 19:04:09 +00:00
2022-11-23 09:31:58 +00:00
2022-08-30 09:30:27 +00:00
2022-08-30 09:30:27 +00:00
2022-03-02 12:02:00 +00:00
2022-03-01 14:16:48 +00:00
2022-10-05 06:59:13 +00:00
2022-08-02 13:20:40 +00:00
2021-11-16 08:17:03 +00:00
2021-11-16 08:17:02 +00:00
2022-02-05 00:39:04 +00:00
2022-03-19 16:48:25 +00:00
2021-11-15 12:39:38 +00:00
2022-06-22 07:52:59 +00:00
2022-08-15 19:55:08 +00:00
2022-08-15 19:55:08 +00:00
2022-11-15 16:19:30 +00:00
2022-04-26 14:30:29 +00:00
2022-09-28 15:17:46 +00:00
2022-07-29 12:47:48 +00:00
2022-05-16 08:38:02 +00:00
2022-12-05 19:30:35 +00:00
2022-06-23 22:38:02 +00:00
2021-11-10 12:57:43 +00:00
2022-12-02 20:30:07 +02:00
2022-11-16 15:52:07 +00:00
2022-11-24 15:10:15 +00:00
2022-11-24 15:10:15 +00:00
2022-05-06 23:37:25 +00:00
2022-05-06 23:37:25 +00:00
2022-06-07 23:09:52 +00:00
2022-06-07 23:09:52 +00:00
2022-12-02 20:30:07 +02:00
2022-06-07 23:09:52 +00:00
2022-08-02 13:20:40 +00:00
2022-08-02 13:20:40 +00:00
2022-06-09 23:02:11 +00:00
2022-06-07 23:09:52 +00:00
2022-06-07 23:09:52 +00:00
2022-06-07 23:09:52 +00:00
2022-08-02 13:20:40 +00:00
2022-08-02 13:20:40 +00:00
2022-08-03 10:50:41 +00:00
2022-08-03 10:50:41 +00:00
2022-04-19 11:41:52 +00:00
2022-02-15 08:00:06 +00:00
2022-10-06 14:28:43 +00:00
2022-08-26 16:08:05 +00:00
2022-08-17 15:41:12 +00:00
2022-12-02 16:48:40 +00:00
2022-10-05 19:09:29 +00:00
2022-10-05 19:09:29 +00:00
2022-10-05 19:09:29 +00:00
2022-08-17 21:26:36 +00:00
2022-06-22 09:45:07 +00:00
2022-05-15 21:54:25 +00:00
2021-11-15 12:39:38 +00:00
2021-11-10 12:57:43 +00:00
2022-11-07 19:30:49 +00:00
2022-07-19 18:51:46 +00:00
2022-10-14 21:32:17 +00:00
2022-12-02 20:30:07 +02:00
2022-02-23 13:59:33 +00:00
2022-02-23 13:59:33 +00:00
2022-11-23 09:31:58 +00:00