X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fwindows%2Fnative-image-source-impl-win.h;h=81e2ab22d5d0f526c220cf81916a2a09d833be23;hb=06e1bc7147010573ecfad8977280220ed03843a7;hp=8893c507415463d88f885bee7592641c816e4cbe;hpb=a8616553984c8f7ccfd0ab1946367aa8d4f7e6ba;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/imaging/windows/native-image-source-impl-win.h b/dali/internal/imaging/windows/native-image-source-impl-win.h index 8893c50..81e2ab2 100644 --- a/dali/internal/imaging/windows/native-image-source-impl-win.h +++ b/dali/internal/imaging/windows/native-image-source-impl-win.h @@ -162,6 +162,11 @@ public: */ bool ReleaseBuffer() override; + /** + * @copydoc Dali::NativeImageSource::SetResourceDestructionCallback() + */ + void SetResourceDestructionCallback(EventThreadCallback* callback) override; + private: /** * Private constructor; @see NativeImageSource::New() @@ -201,14 +206,15 @@ private: void GetPixmapDetails(); private: - unsigned int mWidth; ///< image width - unsigned int mHeight; ///< image heights - bool mOwnPixmap; ///< Whether we created pixmap or not - unsigned int mPixmap; ///< From Windows - bool mBlendingRequired; ///< Whether blending is required - Dali::NativeImageSource::ColorDepth mColorDepth; ///< color depth of image - void* mEglImageKHR; ///< From EGL extension - EglImageExtensions* mEglImageExtensions; ///< The EGL Image Extensions + unsigned int mWidth; ///< image width + unsigned int mHeight; ///< image heights + bool mOwnPixmap; ///< Whether we created pixmap or not + unsigned int mPixmap; ///< From Windows + bool mBlendingRequired; ///< Whether blending is required + Dali::NativeImageSource::ColorDepth mColorDepth; ///< color depth of image + void* mEglImageKHR; ///< From EGL extension + EglImageExtensions* mEglImageExtensions; ///< The EGL Image Extensions + std::unique_ptr mResourceDestructionCallback; ///< The Resource Destruction Callback }; } // namespace Adaptor