33 gfx_system(
const gfx_system &) =
delete;
34 gfx_system &operator=(
const gfx_system &) =
delete;
35 gfx_system(gfx_system &&) =
delete;
36 gfx_system &operator=(gfx_system &&) =
delete;
42 virtual void deinit() {};
46 static inline gfx_system &global() noexcept
48 return *start_subsystem_or_terminate(_global,
nullptr, subsystem_init, subsystem_deinit);
51 gfx_device *findBestDeviceForSurface(gfx_surface
const &surface);
56 [[nodiscard]]
static gfx_system *subsystem_init() noexcept;
57 [[nodiscard]] static
void subsystem_deinit() noexcept;