mesa/main/util: moving gallium u_mm to util, remove main/mm
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 28 Nov 2019 20:49:02 +0000 (21:49 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 2 Dec 2019 12:59:28 +0000 (13:59 +0100)
commitb6fd679a9e68e1707bffda48ed7cb0bb79ea9f23
treeb0fc8b743db0712ca3a3028b068b62eb7a2c3e35
parent35fab1ba3395604f748cd13ba82991372ca0cae7
mesa/main/util: moving gallium u_mm to util, remove main/mm

Right now there are two copies of mm:
   * mesa/main/mm.[ch]
   * gallium/auxiliary/util/u_mm.[ch]

At some point they splitted, and from the commit message it was not
clear why it was not possible to have only one copy at a common place.

Taking into account that was several years ago, Im assuming that it
was not possible then.

This change would allow to have one copy of the same code, and also
being able to use that code out of mesa/main or gallium, if needed.

This commit moves u_mm and removes mm, as u_mm has slightly more
changes.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/meson.build
src/mesa/Makefile.sources
src/mesa/main/execmem.c
src/mesa/main/mm.c [deleted file]
src/mesa/main/mm.h [deleted file]
src/mesa/meson.build
src/util/Makefile.sources
src/util/meson.build
src/util/u_mm.c [moved from src/gallium/auxiliary/util/u_mm.c with 99% similarity]
src/util/u_mm.h [moved from src/gallium/auxiliary/util/u_mm.h with 100% similarity]