util: Move DRI parse_debug_string() to util
authorKristian Høgsberg Kristensen <krh@bitplanet.net>
Mon, 5 Oct 2015 21:13:29 +0000 (14:13 -0700)
committerKristian Høgsberg Kristensen <krh@bitplanet.net>
Thu, 8 Oct 2015 19:13:31 +0000 (12:13 -0700)
commit04158fb0f6e1148fdf155f78147cfc58b5d2b82c
tree5222f0c6e4b3931207cff630ed6c2cb8df13e804
parentba71d581aeb96c4626500eb5b19f3bef2f40d586
util: Move DRI parse_debug_string() to util

We want to use intel_debug.c in code that doesn't link to dri common.

v2: Remove unnecessary stddef.h include (Topi), use util/debug.h
    in all DRI driver and remove driParseDebugString() (Iago).

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Signed-off-by: Kristian Høgsberg Kristensen <krh@bitplanet.net>
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/common/utils.h
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i965/intel_debug.c
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_debug.c
src/util/Makefile.sources
src/util/debug.c [new file with mode: 0644]
src/util/debug.h [new file with mode: 0644]