Yonggang Luo
89f7446643
util: Replace all usage of __FUNCTION__ with __func__ in src/util/*
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19646 >
2022-11-11 06:15:42 +00:00
Yonggang Luo
d9c3601e29
util: trim trailing space for files src/util/**/*
...
Using the following bash script doing that
```
cd src/util
find . -type f -print0 | xargs -0 -n1 sed -i 's/[ \t]*$//'
```
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15093 >
2022-03-21 17:57:15 +00:00
Erik Faye-Lund
5f0b984cb8
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 >
2020-02-24 23:07:57 +00:00
Eric Engestrom
87adc898b3
util/os_memory: use detect_os.h to uncouple it from gallium
...
While at it, remove p_compiler.h as well as it is unused.
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com >
Reviewed-by: Matt Turner <mattst88@gmail.com >
2019-08-02 18:38:52 +01:00
Dylan Baker
88c4680b5a
util: promote u_memory to src/util
...
as well as os_memory*
Reviewed-by: Rob Clark <robdclark@gmail.com >
2018-11-27 15:44:02 -05:00