diff options
author | Kenneth Graunke <[email protected]> | 2014-02-24 23:39:14 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-08-04 11:06:58 -0700 |
commit | 1e0da6233be6e5fb0143615d5e3d3642ddb7964f (patch) | |
tree | b33478332a051d4d587009cc8a76b71c5210bdc6 /src/mesa/drivers/dri/i915 | |
parent | dcc29c18b4affd0a69202a822ffe77d94594f98b (diff) |
util: Move ralloc to a new src/util directory.
For a long time, we've wanted a place to put utility code which isn't
directly tied to Mesa or Gallium internals. This patch creates a new
src/util directory for exactly that purpose, and builds the contents as
libmesautil.la.
ralloc seemed like a good first candidate. These days, it's directly
used by mesa/main, i965, i915, and r300g, so keeping it in src/glsl
didn't make much sense.
Signed-off-by: Kenneth Graunke <[email protected]>
v2 (Jason Ekstrand): More realloc uses and some scons fixes
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i830_context.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_context.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_context.c b/src/mesa/drivers/dri/i915/i830_context.c index 0d46dba069b..299e54d50eb 100644 --- a/src/mesa/drivers/dri/i915/i830_context.c +++ b/src/mesa/drivers/dri/i915/i830_context.c @@ -35,7 +35,7 @@ #include "tnl/t_context.h" #include "tnl/t_pipeline.h" #include "intel_tris.h" -#include "../glsl/ralloc.h" +#include "util/ralloc.h" /*************************************** * Mesa's Driver Functions diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index 44b0d8bb5ce..7f438961a99 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -40,7 +40,7 @@ #include "swrast/swrast.h" #include "swrast_setup/swrast_setup.h" #include "tnl/tnl.h" -#include "../glsl/ralloc.h" +#include "util/ralloc.h" #include "i915_reg.h" #include "i915_program.h" diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 09fe37190e3..3104776c4ea 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -56,7 +56,7 @@ #include "intel_mipmap_tree.h" #include "utils.h" -#include "../glsl/ralloc.h" +#include "util/ralloc.h" int INTEL_DEBUG = (0); |