lavapipe: move to subclassing instance/physical device.
authorDave Airlie <airlied@redhat.com>
Sun, 24 Jan 2021 22:57:46 +0000 (08:57 +1000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Feb 2021 18:54:24 +0000 (18:54 +0000)
commitfd3c665df084cb297c633f5c573c272be5016b10
tree369b52f1070fb719f6ecc994173553b453676402
parentbcdf481d13cb8c306a64bd31352ccc654f78ad69
lavapipe: move to subclassing instance/physical device.

This doesn't use any of the features yet, just moves to subclassing.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8676>
src/gallium/frontends/lavapipe/lvp_device.c
src/gallium/frontends/lavapipe/lvp_private.h
src/gallium/frontends/lavapipe/lvp_wsi.c
src/gallium/frontends/lavapipe/lvp_wsi_wayland.c
src/gallium/frontends/lavapipe/lvp_wsi_x11.c