util: move debug_memory_{begin,end} to os_memory_debug.h
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 19 Feb 2020 11:51:08 +0000 (12:51 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 23:07:57 +0000 (23:07 +0000)
commit5f0b984cb8fd424facc7b245e4649b38f4815e3c
tree9ea71afdd90ef37c7905012580a7c0b854c376d5
parent31a781578522d44e6832893270a7902b001a827d
util: move debug_memory_{begin,end} to os_memory_debug.h

This is where the other debug_memory_* functions are declared, so let's
move it here for symmetry.

This allows us to drop an include of u_debug_gallium.h, which makes us
depend on gallium-headers in non-gallium code.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3901>
src/gallium/auxiliary/util/u_debug_gallium.h
src/gallium/state_trackers/wgl/stw_device.c
src/util/os_memory_debug.h
src/util/u_debug_memory.c