Lines Matching refs:std
33 std::unordered_map<std::string, std::unique_ptr<Driver>> create_supported_drivers()
35 std::unordered_map<std::string, std::unique_ptr<Driver>> map;
38 map.emplace("msm", std::make_unique<FreedrenoDriver>());
42 map.emplace("i915", std::make_unique<IntelDriver>());
46 map.emplace("panfrost", std::make_unique<PanfrostDriver>());
52 const std::unordered_map<std::string, std::unique_ptr<Driver>> &Driver::get_supported_drivers()
58 const std::vector<std::string> Driver::supported_device_names()
60 std::vector<std::string> supported_device_names;
73 if (it == std::end(supported_drivers)) {
78 driver->drm_device = std::move(drm_device);
82 std::string Driver::default_driver_name()
95 std::string Driver::find_driver_name(const char *requested)
106 std::ostringstream drivers_os;
107 std::copy(supported_devices.begin(),
109 std::ostream_iterator<std::string>(drivers_os, ", "));