| 99 | }; |
| 100 | |
| 101 | static wl_output_transform get_transform_from_string(std::string transform) |
| 102 | { |
| 103 | auto it = output_transforms.find(transform); |
| 104 | if (it != output_transforms.end()) |
| 105 | { |
| 106 | return it->second; |
| 107 | } |
| 108 | |
| 109 | LOGE("Bad output transform in config: ", transform); |
| 110 | return WL_OUTPUT_TRANSFORM_NORMAL; |
| 111 | } |
| 112 | |
| 113 | static std::string wl_transform_to_string(wl_output_transform transform) |
| 114 | { |
no test coverage detected