mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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 <pierre-eric.pelloux-prayer@amd.com> Acked-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41104>
This commit is contained in:
parent
696e7ac600
commit
e4f7829b21
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue