* @brief Does this effect supports rendering at a different scale than 1 ? * There is no OFX property for this purpose. The only solution found for OFX is that if a isIdentity * with renderscale != 1 fails, the host retries with renderscale = 1 (and upscaled images). * If the renderScale support was not set, this throws an exception. **/
| 3159 | * If the renderScale support was not set, this throws an exception. |
| 3160 | **/ |
| 3161 | bool |
| 3162 | EffectInstance::supportsRenderScale() const |
| 3163 | { |
| 3164 | if (_imp->supportsRenderScale == eSupportsMaybe) { |
| 3165 | qDebug() << "EffectInstance::supportsRenderScale should be set before calling supportsRenderScale(), or use supportsRenderScaleMaybe() instead"; |
| 3166 | throw std::runtime_error("supportsRenderScale not set"); |
| 3167 | } |
| 3168 | |
| 3169 | return _imp->supportsRenderScale == eSupportsYes; |
| 3170 | } |
| 3171 | |
| 3172 | EffectInstance::SupportsEnum |
| 3173 | EffectInstance::supportsRenderScaleMaybe() const |
no outgoing calls
no test coverage detected