X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fubuntu-x11%2Fnative-image-source-impl-x.h;h=7c52239aad70bf82bcecd3f4ec1c0f3c6b5863c3;hb=refs%2Ftags%2Fsubmit%2Ftizen_6.0%2F20210908.054804;hp=c9059124ab1f9bc207336b9a6259721f93f2e8e7;hpb=505b58aaff135b12d2575e214b02d469913fa624;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/imaging/ubuntu-x11/native-image-source-impl-x.h b/dali/internal/imaging/ubuntu-x11/native-image-source-impl-x.h index c905912..7c52239 100755 --- a/dali/internal/imaging/ubuntu-x11/native-image-source-impl-x.h +++ b/dali/internal/imaging/ubuntu-x11/native-image-source-impl-x.h @@ -171,6 +171,11 @@ public: */ bool ReleaseBuffer() override; + /** + * @copydoc Dali::NativeImageSource::SetResourceDestructionCallback() + */ + void SetResourceDestructionCallback(EventThreadCallback* callback) override; + private: /** @@ -220,6 +225,7 @@ private: Dali::NativeImageSource::ColorDepth mColorDepth; ///< color depth of image void* mEglImageKHR; ///< From EGL extension EglImageExtensions* mEglImageExtensions; ///< The EGL Image Extensions + std::unique_ptr mResourceDestructionCallback; }; } // namespace Adaptor