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>
13 files changed:
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/meson.build
src/gallium/auxiliary/util/u_mm.c [deleted file]
src/gallium/auxiliary/util/u_mm.h [deleted file]
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 [new file with mode: 0644]
src/util/u_mm.h [new file with mode: 0644]