| 790 | |
| 791 | mDeclarePluginFactory(PLogLinPluginFactory, {ofxsThreadSuiteCheck();}, {}); |
| 792 | void |
| 793 | PLogLinPluginFactory::describe(ImageEffectDescriptor &desc) |
| 794 | { |
| 795 | //std::cout << "describe!\n"; |
| 796 | // basic labels |
| 797 | desc.setLabel(kPluginName); |
| 798 | desc.setPluginGrouping(kPluginGrouping); |
| 799 | desc.setPluginDescription(kPluginDescription); |
| 800 | |
| 801 | desc.addSupportedContext(eContextFilter); |
| 802 | desc.addSupportedContext(eContextGeneral); |
| 803 | desc.addSupportedContext(eContextPaint); |
| 804 | desc.addSupportedBitDepth(eBitDepthUByte); |
| 805 | desc.addSupportedBitDepth(eBitDepthUShort); |
| 806 | desc.addSupportedBitDepth(eBitDepthFloat); |
| 807 | |
| 808 | // set a few flags |
| 809 | desc.setSingleInstance(false); |
| 810 | desc.setHostFrameThreading(false); |
| 811 | desc.setSupportsMultiResolution(kSupportsMultiResolution); |
| 812 | desc.setSupportsTiles(kSupportsTiles); |
| 813 | desc.setTemporalClipAccess(false); |
| 814 | desc.setRenderTwiceAlways(false); |
| 815 | desc.setSupportsMultipleClipPARs(kSupportsMultipleClipPARs); |
| 816 | desc.setSupportsMultipleClipDepths(kSupportsMultipleClipDepths); |
| 817 | desc.setRenderThreadSafety(kRenderThreadSafety); |
| 818 | |
| 819 | #ifdef OFX_EXTENSIONS_NATRON |
| 820 | desc.setChannelSelector(ePixelComponentNone); // we have our own channel selector |
| 821 | #endif |
| 822 | //std::cout << "describe! OK\n"; |
| 823 | } |
| 824 | |
| 825 | void |
| 826 | PLogLinPluginFactory::describeInContext(ImageEffectDescriptor &desc, |