* @brief Returns if GPUs/drivers have changed since the last call to this function. * @return `true` if a change has occurred or if it is unknown whether a change occurred. */
| 948 | * @return `true` if a change has occurred or if it is unknown whether a change occurred. |
| 949 | */ |
| 950 | bool needs_encoder_reenumeration() { |
| 951 | // We don't track GPU state, so we will always reenumerate. Fortunately, it is fast on Linux. |
| 952 | return true; |
| 953 | } |
| 954 | |
| 955 | std::shared_ptr<display_t> display(mem_type_e hwdevice_type, const std::string &display_name, const video::config_t &config) { |
| 956 | #ifdef SUNSHINE_BUILD_CUDA |