mesa/src/gallium/include/pipe
Adrián Larumbe a68c584d70 mesa: gallium: make GL object maximum label length a pipescreen cap
Commit a4ffd2395f ("mesa: Implement label sharing from GL objects with
UM drivers") enabled GL clients to tag objects at a UM driver level. In
the case of Panfrost, and for both KMDs, maximum label size is set to
4096, but the Mesa limit is much lower.

Since glObjectLabel() allocates object labels dynamically, there's no
need to have this value chiseled in stone, so allow Gallium driver
implementers to set their own limit through a pipe screen capability.

Keep the same default maximum label length as before.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38027>
2025-11-13 19:16:15 +00:00
..
p_context.h gallium: add pipe_context::resource_release to eliminate buffer refcounting 2025-09-09 20:47:38 +00:00
p_defines.h mesa: gallium: make GL object maximum label length a pipescreen cap 2025-11-13 19:16:15 +00:00
p_screen.h pipe: Remove resource_get_info 2025-10-06 07:11:09 +00:00
p_shader_tokens.h tgsi: Remove return type from tgsi_instruction_texture 2025-08-15 08:03:04 +00:00
p_state.h teflon: Add support for the ResizeNearestNeighbor operation 2025-10-15 20:10:15 +00:00
p_video_codec.h p_video_codec::encode_bitstream_sliced: Add last_slice_completion_fence for PIPE_VIDEO_SLICE_MODE_AUTO 2025-10-20 13:37:16 +00:00
p_video_enums.h pipe: Add PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE 2025-10-29 14:53:47 +00:00
p_video_state.h frontends/va: Support H264 encode pic_order_cnt_type 1 2025-10-28 09:14:24 +00:00