mesa/src/mapi
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
..
es1api dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00
es2api dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00
glapi mesa: Handle getting GL_MAX_VIEWS_OVR 2025-02-19 19:12:33 +00:00
new treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
shared-glapi glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
entry.c mapi: Delete dynamic stub generation. 2023-06-12 21:37:37 +00:00
entry.h mapi: Delete dynamic stub generation. 2023-06-12 21:37:37 +00:00
entry_ppc64le_tls.h glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
entry_x86-64_tls.h glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
entry_x86_tls.h glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
mapi_abi.py treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
mapi_tmp.h
meson.build dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00
u_current.c glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
u_current.h mapi: Move shared _glapi_set_context and _glapi_set_dispatch into u_current.c 2022-08-22 21:32:09 +00:00