projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add API for setting resource destruction callback
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
imaging
/
macos
/
native-image-source-impl-mac.h
diff --git
a/dali/internal/imaging/macos/native-image-source-impl-mac.h
b/dali/internal/imaging/macos/native-image-source-impl-mac.h
index
a70f33c
..
5bb1db5
100644
(file)
--- a/
dali/internal/imaging/macos/native-image-source-impl-mac.h
+++ b/
dali/internal/imaging/macos/native-image-source-impl-mac.h
@@
-114,11
+114,6
@@
public:
bool RequiresBlending() const override;
/**
bool RequiresBlending() const override;
/**
- * @copydoc Dali::NativeImageInterface::GetCustomFragmentPrefix()
- */
- const char* GetCustomFragmentPrefix() const override;
-
- /**
* @copydoc Dali::NativeImageInterface::ApplyNativeFragmentShader()
*/
bool ApplyNativeFragmentShader(std::string& shader) override;
* @copydoc Dali::NativeImageInterface::ApplyNativeFragmentShader()
*/
bool ApplyNativeFragmentShader(std::string& shader) override;
@@
-161,6
+156,11
@@
public:
*/
bool ReleaseBuffer() override;
*/
bool ReleaseBuffer() override;
+ /**
+ * @copydoc Dali::NativeImageSource::SetResourceDestructionCallback()
+ */
+ void SetResourceDestructionCallback(EventThreadCallback* callback) override;
+
private:
/**
* Private constructor; @see NativeImageSource::New()
private:
/**
* Private constructor; @see NativeImageSource::New()
@@
-177,6
+177,7
@@
private:
private:
CFRef<CGImageRef> mImage;
private:
CFRef<CGImageRef> mImage;
+ std::unique_ptr<EventThreadCallback> mResourceDestructionCallback; ///< The Resource Destruction Callback
};
} // namespace Dali::Internal::Adaptor
};
} // namespace Dali::Internal::Adaptor