7#include "gfx_device.hpp"
8#include "../unfair_recursive_mutex.hpp"
9#include "../subsystem.hpp"
16namespace hi::inline
v1 {
38 virtual
void init(){};
39 virtual void deinit(){};
43 void log_memory_usage() const noexcept {
44 for (
hilet &device: devices) {
45 device->log_memory_usage();
49 gfx_device *find_best_device_for_surface(gfx_surface
const &surface);
#define hilet
Invariant should be the default for variables.
Definition utility.hpp:23
DOXYGEN BUG.
Definition algorithm.hpp:15
Graphics system.
Definition gfx_system.hpp:21
std::vector< std::shared_ptr< gfx_device > > devices
List of all devices.
Definition gfx_system.hpp:24