Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/device.h
| Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Lines | #endif | ||||
| static string string_from_type(DeviceType type); | static string string_from_type(DeviceType type); | ||||
| static vector<DeviceType>& available_types(); | static vector<DeviceType>& available_types(); | ||||
| static vector<DeviceInfo>& available_devices(); | static vector<DeviceInfo>& available_devices(); | ||||
| static string device_capabilities(); | static string device_capabilities(); | ||||
| /* Tag devices lists for update. */ | /* Tag devices lists for update. */ | ||||
| static void tag_update(); | static void tag_update(); | ||||
| static void free_memory(); | |||||
| private: | private: | ||||
| /* Indicted whether device types and devices lists were initialized. */ | /* Indicted whether device types and devices lists were initialized. */ | ||||
| static bool need_types_update, need_devices_update; | static bool need_types_update, need_devices_update; | ||||
| static vector<DeviceType> types; | |||||
| static vector<DeviceInfo> devices; | |||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __DEVICE_H__ */ | #endif /* __DEVICE_H__ */ | ||||