unsigned int height,
Dali::NativeImageSource::ColorDepth depth,
Any nativeImageSource)
-: mImage(MakeRef<CGImageRef>(nullptr))
+: mImage(MakeRef<CGImageRef>(nullptr)),
+ mResourceDestructionCallback()
{
DALI_ASSERT_ALWAYS(Adaptor::IsAvailable());
DALI_ASSERT_ALWAYS(nativeImageSource.Empty());
{
}
-const char* NativeImageSourceCocoa::GetCustomFragmentPrefix() const
-{
- return nullptr;
-}
-
bool NativeImageSourceCocoa::ApplyNativeFragmentShader(std::string& shader)
{
return false;
return false;
}
+void NativeImageSourceCocoa::SetResourceDestructionCallback(EventThreadCallback* callback)
+{
+ mResourceDestructionCallback = std::unique_ptr<EventThreadCallback>(callback);
+}
+
} // namespace Dali::Internal::Adaptor