| 2757 | } |
| 2758 | |
| 2759 | void |
| 2760 | OfxEffectInstance::onEnableOpenGLKnobValueChanged(bool activated) |
| 2761 | { |
| 2762 | const Plugin* p = getNode()->getPlugin(); |
| 2763 | if (p->getPluginOpenGLRenderSupport() == ePluginOpenGLRenderSupportYes) { |
| 2764 | // The property may only change if the plug-in has the property set to yes on the descriptor |
| 2765 | if (activated) { |
| 2766 | effectInstance()->getProps().setStringProperty(kOfxImageEffectPropOpenGLRenderSupported, "true"); |
| 2767 | } else { |
| 2768 | effectInstance()->getProps().setStringProperty(kOfxImageEffectPropOpenGLRenderSupported, "false"); |
| 2769 | } |
| 2770 | } |
| 2771 | } |
| 2772 | |
| 2773 | bool |
| 2774 | OfxEffectInstance::supportsMultiResolution() const |
no test coverage detected