mesa/src/mapi/glapi
James Hogan be106bd6c6 mesa: Handle getting GL_MAX_VIEWS_OVR
Add support for GL_OVR_multiview's GL_MAX_VIEWS_OVR which can be
accessed with glGetIntegerv().

MaxViews is accessed via the hash table set up by get_hash_params.py as
a constant (MAX_VIEWS_OVR) using GL_MAX_VIEWS_OVR.

v2: Add this patch (thanks to Mike's guidance)
v3: Drop unnecessary enum size element in OVR_multiview.XML
v4: Switch to CONST(MAX_VIEWS_OVR) instead of gl_constants::MaxViews
    (Marek's suggestion)

Fixes: 328c29d600 ("mesa,glsl,gallium: add GL_OVR_multiview")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Signed-off-by: James Hogan <james@albanarts.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32992>
2025-02-19 19:12:33 +00:00
..
gen mesa: Handle getting GL_MAX_VIEWS_OVR 2025-02-19 19:12:33 +00:00
registry Update OpenGL headers 2023-06-07 20:47:03 +00:00
tests glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
glapi.c glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
glapi.h glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
glapi_dispatch.c treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
glapi_entrypoint.c glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
glapi_getproc.c glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
glapi_nop.c
glapi_priv.h mapi: Delete dynamic stub generation. 2023-06-12 21:37:37 +00:00
meson.build meson: remove selinux option 2024-10-21 01:14:35 +00:00