mesa/src
Michael Cheng ecbc6625cf intel/ds: Add end_event_dyn() and CREATE_DUAL_EVENT_CALLBACK_DYN macro
Add a separate end_event_dyn() that takes a std::string by value for
dynamic event names. The [=] lambda capture deep-copies the string into
the closure, avoiding a dangling pointer when the Trace() continuation
runs after the caller's stack frame is gone.

The existing end_event() with const char* remains for string literals
and long-lived pointers (e.g. payload->str), where no copy is needed.

CREATE_DUAL_EVENT_CALLBACK_DYN formats the event name via snprintf and
passes the result as a std::string to end_event_dyn(). Follow-up patches
will use this macro to label events with runtime dimensions.

Signed-off-by: Michael Cheng <michael.cheng@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41374>
2026-05-08 19:51:48 +00:00
..
amd nir,amd: reassociate fadd to create more fma/mad 2026-05-08 11:49:43 +00:00
android_stub android_stub: purge unused log utils 2026-05-01 20:23:23 +00:00
asahi nir: rename nir_src_parent_instr to nir_src_use_instr 2026-05-06 17:09:22 +00:00
broadcom broadcom/compiler: Add explicit NOP instruction at page boundaries 2026-05-06 09:21:28 +00:00
c11
compiler nir,amd: reassociate fadd to create more fma/mad 2026-05-08 11:49:43 +00:00
drm-shim drm-shim: fix shim on GLX 2026-04-14 12:06:10 +00:00
egl egl: Switch to mesa_log(..) 2026-04-30 23:51:48 +00:00
etnaviv Uprev Piglit to 11ce9eb56edb00e6a7702d13168cc827ce5e0cbd 2026-04-10 21:21:52 +00:00
freedreno turnip: Add an override to uncached memory type 2026-05-08 12:27:18 +00:00
gallium zink: remove remaining maint5 checks 2026-05-08 19:10:31 +00:00
gbm gbm: Replace VER_MIN with common MIN2 2026-04-30 13:00:03 +00:00
getopt
gfxstream gfxstream: emit global state wrapped decoding for vkCmdEvent 2026-05-04 19:49:52 +00:00
glx meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
gtest
imagination pvr: set SMP component count for TQ frag load shaders 2026-05-08 10:59:56 +00:00
imgui imgui: update copy and port all tools using it 2026-04-30 10:59:45 +00:00
intel intel/ds: Add end_event_dyn() and CREATE_DUAL_EVENT_CALLBACK_DYN macro 2026-05-08 19:51:48 +00:00
kosmickrisp nir: use nir_build_frag_coord everywhere 2026-05-03 13:03:01 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa st/mesa: fix implicit conversion warning in st_atom_framebuffer 2026-05-05 09:36:18 +00:00
microsoft spirv2dxil: Replace UAV_FENCE_THREAD_GROUP usage with UAV_FENCE_GLOBAL. 2026-05-07 16:51:25 +00:00
nouveau nak,compiler: Move FromVariants to common code 2026-05-08 00:29:09 +00:00
panfrost panfrost: enable ARB_texture_query_lod on v9+ 2026-05-08 09:45:39 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool pps: Re-emit time clock_sync more regularly 2026-05-06 21:37:15 +00:00
util turnip: Add an override to uncached memory type 2026-05-08 12:27:18 +00:00
virtio ci/android: Remove CtsDeqpTestCases from Android CTS 2026-05-06 15:51:28 +02:00
vulkan vulkan/wsi: write VkImageCompressionControlEXT from swapchain to image creation 2026-05-08 13:24:28 +03:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format intel: add Jay 2026-04-10 18:21:21 +00:00
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00