v3d: moving v3d simulator to src/broadcom
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 29 Nov 2019 10:17:18 +0000 (11:17 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 27 Jun 2020 00:06:58 +0000 (00:06 +0000)
commit583d7d3d8d0d14d636340b0f12f72db7b0148ceb
tree23fb52b729ab39bf31160a673bb409c7c51325f0
parent4fccbd0ea60280fd1e9cb0728ba828783fb20b2c
v3d: moving v3d simulator to src/broadcom

So it could be used by both the OpenGL and the Vulkan driver.

In addition to the move, some small changes were needed to be made on
the API. For example, the simulator was receiving v3d_screen on
initialization, and that code setted v3d_screen->sim_file. Now it
returns the new sim_file created.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5666>
17 files changed:
src/broadcom/drm-shim/meson.build
src/broadcom/meson.build
src/broadcom/simulator/meson.build [new file with mode: 0644]
src/broadcom/simulator/v3d_simulator.c [new file with mode: 0644]
src/broadcom/simulator/v3d_simulator.h [new file with mode: 0644]
src/broadcom/simulator/v3d_simulator_wrapper.cpp [new file with mode: 0644]
src/broadcom/simulator/v3d_simulator_wrapper.h [new file with mode: 0644]
src/broadcom/simulator/v3dx_simulator.c [new file with mode: 0644]
src/broadcom/simulator/v3dx_simulator.h [new file with mode: 0644]
src/gallium/drivers/v3d/meson.build
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3d_screen.c
src/gallium/drivers/v3d/v3d_simulator.c [deleted file]
src/gallium/drivers/v3d/v3d_simulator_wrapper.cpp [deleted file]
src/gallium/drivers/v3d/v3d_simulator_wrapper.h [deleted file]
src/gallium/drivers/v3d/v3dx_context.h
src/gallium/drivers/v3d/v3dx_simulator.c [deleted file]