mesa: add bool param to _mesa_free_context_data
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 7 Jul 2020 09:06:21 +0000 (11:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Jul 2020 09:13:51 +0000 (09:13 +0000)
commit7f0b6a5df8e360e52a97f59948dda927fe9df15e
tree9f36703654d717266f2b7dabd96dab51f4a37f00
parente6f7b4312f5f924c8da74d8989ef4ebec7466240
mesa: add bool param to _mesa_free_context_data

The param controls whether _mesa_destroy_debug_output should be called or not.
No functional changes; this will be used by the next commit.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5789>
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/nouveau/nouveau_context.c
src/mesa/drivers/dri/radeon/radeon_common_context.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_api.c
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/state_tracker/st_context.c