Skip to content

Commit 0f4a368

Browse files
committed
Add Cuda/Metal/OpenCL properties to support library [issue AcademySoftwareFoundation#98]
1 parent ec33d85 commit 0f4a368

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

HostSupport/src/ofxhImageEffect.cpp

+13
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ namespace OFX {
9191
#ifdef OFX_SUPPORTS_OPENGLRENDER
9292
{ kOfxImageEffectPropOpenGLRenderSupported, Property::eString, 1, false, "false"}, // OFX 1.3
9393
#endif
94+
{ kOfxImageEffectPropCudaRenderSupported, Property::eString, 1, false, "false" },
95+
{ kOfxImageEffectPropCudaStreamSupported, Property::eString, 1, false, "false" },
96+
{ kOfxImageEffectPropMetalRenderSupported, Property::eString, 1, false, "false" },
97+
{ kOfxImageEffectPropOpenCLRenderSupported, Property::eString, 1, false, "false" },
98+
9499
Property::propSpecEnd
95100
};
96101

@@ -342,6 +347,10 @@ namespace OFX {
342347
#ifdef OFX_SUPPORTS_OPENGLRENDER
343348
{ kOfxImageEffectPropOpenGLRenderSupported, Property::eString, 1, false, "false"}, // OFX 1.4
344349
#endif
350+
{ kOfxImageEffectPropCudaRenderSupported, Property::eString, 1, false, "false" },
351+
{ kOfxImageEffectPropCudaStreamSupported, Property::eString, 1, false, "false" },
352+
{ kOfxImageEffectPropMetalRenderSupported, Property::eString, 1, false, "false" },
353+
{ kOfxImageEffectPropOpenCLRenderSupported, Property::eString, 1, false, "false" },
345354
Property::propSpecEnd
346355
};
347356

@@ -2714,6 +2723,10 @@ namespace OFX {
27142723
#endif
27152724
{ kOfxImageEffectPropRenderQualityDraft, Property::eInt, 1, true, "0" }, // OFX 1.4
27162725
{ kOfxImageEffectHostPropNativeOrigin, Property::eString, 0, true, kOfxHostNativeOriginBottomLeft }, // OFX 1.4
2726+
{ kOfxImageEffectPropCudaRenderSupported, Property::eString, 1, false, "false" },
2727+
{ kOfxImageEffectPropCudaStreamSupported, Property::eString, 1, false, "false" },
2728+
{ kOfxImageEffectPropMetalRenderSupported, Property::eString, 1, false, "false" },
2729+
{ kOfxImageEffectPropOpenCLRenderSupported, Property::eString, 1, false, "false" },
27172730
Property::propSpecEnd
27182731
};
27192732

0 commit comments

Comments
 (0)