Daniel van Vugt
b065dce194
renderer/native-gles3: Remember to set the glViewport
...
This is a critical part of any OpenGL program. Mesa allowed us to get
away without it and provided a sane default of the full buffer, but
Nvidia seems to default to an empty/zero viewport so would refuse to
paint any pixels.
In the OpenGL ES 2.0 spec this is ambiguous:
> In the initial state, w and h are set to the width and height,
> respectively, of the window into which the GL is to do its rendering.
because the first "window" used is EGL_NO_SURFACE in
init_secondary_gpu_data_gpu. It has no width or height.
In the OpenGL ES 3.0 spec the ambiguity is somewhat resolved:
> If the default framebuffer is bound but no default framebuffer is
> associated with the GL context (see chapter 4), then w and h are
> initially set to zero.
but not entirely resolved because neither spec says whether
EGL_NO_SURFACE should be treated as zero dimensions (Nvidia) or ignored
and not counted as the first "window" (Mesa).
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3304 >
2024-04-16 21:05:09 +00:00
..
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-01-18 12:12:06 +08:00
2024-01-09 13:14:35 +00:00
2023-08-30 08:48:23 +02:00
2024-03-02 12:08:21 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-01-05 10:21:42 +00:00
2024-01-05 10:21:42 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-01-31 00:58:29 +00:00
2024-01-31 00:58:29 +00:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-09-13 10:38:06 +00:00
2024-04-05 14:06:54 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-04-09 08:28:59 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-04-16 21:05:09 +00:00
2023-08-30 08:48:23 +02:00
2024-01-26 22:23:05 +00:00
2024-01-26 22:23:05 +00:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2023-12-13 11:20:04 +00:00
2023-09-16 10:29:21 +00:00
2024-01-13 17:22:26 +00:00
2024-01-13 17:22:26 +00:00
2024-01-13 17:22:26 +00:00
2024-01-13 17:22:26 +00:00
2023-08-07 22:24:36 +00:00
2024-01-22 15:02:33 +00:00
2023-08-30 08:48:23 +02:00
2024-03-02 12:08:21 +00:00
2024-03-13 13:14:01 +00:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2024-03-16 10:28:30 +00:00
2024-03-16 10:28:30 +00:00
2024-01-26 23:07:39 +00:00
2023-12-18 13:35:09 +00:00
2023-08-30 08:48:23 +02:00
2023-12-18 13:35:09 +00:00
2023-12-18 13:35:09 +00:00
2024-03-08 17:27:10 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-03-02 12:08:21 +00:00
2023-08-30 08:48:23 +02:00
2024-03-02 12:08:21 +00:00
2024-01-19 18:46:41 +00:00
2024-01-19 18:46:41 +00:00
2024-01-19 18:46:41 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-01-09 13:14:35 +00:00
2024-01-09 13:14:35 +00:00
2024-01-08 15:15:25 +01:00
2024-01-08 15:15:25 +01:00
2024-01-08 15:15:25 +01:00
2024-02-08 13:32:51 +00:00
2023-08-30 08:48:23 +02:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2024-01-03 14:46:41 +01:00
2024-01-03 14:46:41 +01:00
2024-01-19 18:46:41 +00:00
2023-08-30 08:48:23 +02:00
2023-09-06 13:02:30 +00:00
2023-08-30 08:48:23 +02:00
2024-01-10 13:58:18 +00:00
2023-08-12 19:53:46 +00:00
2024-04-16 21:05:09 +00:00
2024-03-02 12:08:21 +00:00
2024-03-16 10:28:30 +00:00
2024-01-30 16:24:52 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2024-02-27 13:13:53 +00:00
2023-08-30 08:48:23 +02:00
2024-02-16 08:22:04 -05:00
2023-08-30 08:48:23 +02:00
2024-02-16 08:22:04 -05:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-02-16 08:22:04 -05:00
2024-02-16 08:22:04 -05:00
2024-04-16 21:05:09 +00:00
2023-08-30 08:48:23 +02:00
2024-04-16 21:05:09 +00:00
2024-04-16 21:05:09 +00:00
2024-01-31 00:58:29 +00:00
2024-02-17 11:58:55 +00:00
2023-08-30 08:48:23 +02:00
2024-03-07 14:34:36 +10:00
2023-12-15 14:36:19 +00:00
2024-01-18 18:51:42 +00:00
2024-01-18 18:51:42 +00:00
2023-08-30 16:46:14 +02:00
2023-08-30 08:48:23 +02:00
2024-01-08 11:54:58 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-02-21 11:48:49 +00:00
2023-10-11 10:25:55 -04:00
2024-03-02 12:08:21 +00:00
2024-03-02 12:08:21 +00:00
2023-12-15 14:36:19 +00:00
2023-08-07 22:24:36 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-11-08 08:07:41 +00:00
2023-08-08 04:02:54 +02:00