Skip to content

Commit

Permalink
Add Cuda/Metal/OpenCL properties to support library [issue AcademySof…
Browse files Browse the repository at this point in the history
  • Loading branch information
barretpj authored and john-paulsmith committed Feb 8, 2023
1 parent 7426115 commit 8d2ed4f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions HostSupport/src/ofxhImageEffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ namespace OFX {
#ifdef OFX_SUPPORTS_OPENGLRENDER
{ kOfxImageEffectPropOpenGLRenderSupported, Property::eString, 1, false, "false"}, // OFX 1.3
#endif
{ kOfxImageEffectPropCudaRenderSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropCudaStreamSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropMetalRenderSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropOpenCLRenderSupported, Property::eString, 1, false, "false" },

Property::propSpecEnd
};

Expand Down Expand Up @@ -342,6 +347,10 @@ namespace OFX {
#ifdef OFX_SUPPORTS_OPENGLRENDER
{ kOfxImageEffectPropOpenGLRenderSupported, Property::eString, 1, false, "false"}, // OFX 1.4
#endif
{ kOfxImageEffectPropCudaRenderSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropCudaStreamSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropMetalRenderSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropOpenCLRenderSupported, Property::eString, 1, false, "false" },
Property::propSpecEnd
};

Expand Down Expand Up @@ -2714,6 +2723,10 @@ namespace OFX {
#endif
{ kOfxImageEffectPropRenderQualityDraft, Property::eInt, 1, true, "0" }, // OFX 1.4
{ kOfxImageEffectHostPropNativeOrigin, Property::eString, 0, true, kOfxHostNativeOriginBottomLeft }, // OFX 1.4
{ kOfxImageEffectPropCudaRenderSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropCudaStreamSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropMetalRenderSupported, Property::eString, 1, false, "false" },
{ kOfxImageEffectPropOpenCLRenderSupported, Property::eString, 1, false, "false" },
Property::propSpecEnd
};

Expand Down

0 comments on commit 8d2ed4f

Please sign in to comment.