mesa/src
Alejandro Piñeiro 70728fce57 v3dv: split v3dv_private.h into smaller headers
Split the monolithic v3dv_private.h (~2600 lines) into self-contained
sub-headers so each .c file only includes what it needs:

  v3dv_common.h, v3dv_device.h, v3dv_image.h, v3dv_pass.h,
  v3dv_query.h, v3dv_pipeline.h, v3dv_descriptor_set.h,
  v3dv_cmd_buffer.h, v3dv_version_dispatch.h

As part of this commit we remove v3dv_private.h.

We keep v3dvx_private.h as it is, because the gain would be really
small (a lot of really small sub-headers).

In addition to keep things more tidy, we made a quick performance
check. We measured how many files are re-compiled and the performance
difference when touching one of the headers, compared with keeping
just one monolithic header.

  Header touch (incremental)    Split        Monolithic  Speedup
  --------------------------    -----        ----------  -------
  v3dv_image.h                 2369 (24f)    2436 (33f)    1.03x
  v3dv_query.h                 2357 (20f)    2436 (33f)    1.03x
  v3dv_pass.h                  2352 (20f)    2436 (33f)    1.04x
  v3dv_cmd_buffer.h            2354 (20f)    2436 (33f)    1.03x
  v3dv_descriptor_set.h        2436 (33f)    2436 (33f)    1.00x
  v3dv_pipeline.h              2437 (33f)    2436 (33f)    1.00x
  v3dv_device.h                2418 (31f)    2436 (33f)    1.01x
  v3dv_common.h                2419 (33f)    2436 (33f)    1.01x
  v3dv_version_dispatch.h      2371 (26f)    2436 (33f)    1.03x

  Header touch (incremental)   Split         Monolithic  Speedup
  --------------------------   ----------    ----------  -------
  v3dv_image.h                 2377 (24f)    2443 (33f)    1.03x
  v3dv_query.h                 2346 (20f)    2443 (33f)    1.04x
  v3dv_pass.h                  2360 (20f)    2443 (33f)    1.04x
  v3dv_cmd_buffer.h            2351 (20f)    2443 (33f)    1.04x
  v3dv_descriptor_set.h        2438 (33f)    2443 (33f)    1.00x
  v3dv_pipeline.h              2429 (33f)    2443 (33f)    1.01x
  v3dv_device.h                2418 (31f)    2443 (33f)    1.01x
  v3dv_common.h                2432 (33f)    2443 (33f)    1.00x
  v3dv_version_dispatch.h      2373 (26f)    2443 (33f)    1.03x

The bigger gain is on the files recompiled for some headers (going
from 33 down to 20 in some cases). The performance gain is not so
relevant though.

Acked-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40169>
2026-03-25 02:04:57 +00:00
..
amd aco/optimizer: apply dpp to v_dot before RA for gfx10.3 2026-03-24 09:05:40 +00:00
android_stub
asahi Rename SHA1 words to BLAKE3 2026-03-23 07:03:28 +00:00
broadcom v3dv: split v3dv_private.h into smaller headers 2026-03-25 02:04:57 +00:00
c11
compiler nir/mem_access_bit_sizes: Handle global_bounded 2026-03-24 18:55:30 +00:00
drm-shim
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
etnaviv etnaviv/ml: Skip all synthetic tests as we now have several real models 2026-03-23 12:57:09 +00:00
freedreno ir3/legalize: don't drop sync flags on removed predt/predf 2026-03-24 20:33:31 +00:00
gallium zink/ci: Move zink-tu-a618 to sc7180-trogdor-kingoftown 2026-03-24 15:22:12 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: fixes to get Fuchsia headless to compile 2026-03-17 16:25:53 +00:00
glx glx: guard glx_screen frontend_screen member 2026-03-10 01:53:15 +00:00
gtest
imagination pvr: re-indent pseudocode for DDMADT behavior 2026-03-24 14:11:35 +08:00
imgui
intel hasvk: enable perf warning logging in release builds 2026-03-24 21:42:33 +00:00
kosmickrisp Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
microsoft Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
nouveau nvk: fix BindImageMemory2 per-bind status result 2026-03-24 21:00:50 +00:00
panfrost panvk: remove unused flag 2026-03-24 22:23:23 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util anv: enable BTP+BTI RCC keying for some workloads 2026-03-24 18:17:42 +00:00
virtio gallivm: don't optimize fadd(a, 0.0) with signed zero preserve 2026-03-23 17:58:32 +00:00
vulkan vulkan/runtime: allow drivers to enable vk_log output in release builds 2026-03-24 21:42:33 +00:00
x11 x11: Add helper util to check for xshm support 2026-03-06 01:18:53 +00:00
.clang-format
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00