asahi: Split off common BO code into its own file
authorAsahi Lina <lina@asahilina.net>
Wed, 11 Jan 2023 11:57:27 +0000 (20:57 +0900)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Feb 2023 11:45:52 +0000 (11:45 +0000)
commit2e51ccac82a4cb7f3d0c6f522b3c594c3980c1b2
treed26c2b991a35557782c87dae2fc63d828fb033ef
parentea285aea8d112670f85c160f504c34f8dc156256
asahi: Split off common BO code into its own file

In preparation for splitting off the macOS backend implementation into
its own file, pull out the shared BO code from agx_device.c into
agx_bo.c.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21058>
src/asahi/lib/agx_bo.c [new file with mode: 0644]
src/asahi/lib/agx_bo.h
src/asahi/lib/agx_device.c
src/asahi/lib/agx_device.h
src/asahi/lib/meson.build