From e4f7829b216909fc82f7b3d6d7df4dafb5710089 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 20 Apr 2026 10:31:18 +0200 Subject: [PATCH] dri: deprecate post-processing dri-confs The post-processing infrastructure is showing it's age; it's written using TGSI, which has been on the way out for a long time. There's also few actually useful filters in there, and there are better tools out there to inject shaders into applications. Let's mark this as deprecated, so we can delete it in the future. Having a deprecation period makes it easier for any potential users to find alternatives in a timely matter. Acked-by: Pierre-Eric Pelloux-Prayer Acked-by: Christian Gmeiner Part-of: --- src/gallium/frontends/dri/dri_screen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/frontends/dri/dri_screen.c b/src/gallium/frontends/dri/dri_screen.c index 972d210db5d..feeeb508e7c 100644 --- a/src/gallium/frontends/dri/dri_screen.c +++ b/src/gallium/frontends/dri/dri_screen.c @@ -42,6 +42,7 @@ #include "util/u_debug.h" #include "util/u_driconf.h" #include "util/format/u_format_s3tc.h" +#include "util/log.h" #include "state_tracker/st_context.h" #include "driver_trace/tr_screen.h" @@ -614,6 +615,11 @@ dri_postprocessing_init(struct dri_screen *screen) for (i = 0; i < PP_FILTERS; i++) { screen->pp_enabled[i] = driQueryOptioni(&screen->dev->option_cache, pp_filters[i].name); + static bool warned = false; + if (screen->pp_enabled[i] && !warned) { + mesa_logw("The postprocessing infrastructure is deprecated"); + warned = true; + } } }