[NUI] Make PixelBuffer & PixelData as Disposable
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 17 Jan 2023 10:55:07 +0000 (19:55 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 18 Jan 2023 07:46:35 +0000 (16:46 +0900)
commit70e662a3d2d1f133996e2f44ebf575ab54d3407d
treebb0a4cc21a569f6bb0679d542f99f10d7676b1ca
parent438784dfa32f6d268a6d718b5871e30bb8ada939
[NUI] Make PixelBuffer & PixelData as Disposable

Since they were BaseHandle, there was some Fatal log printed
when we try to use them at worker thread.

For example, PixelBuffer buffer = ImageLoader.LoadImageFromFile() was invalid.

This patch make them as Disposable.
So they will not be registed into Registry.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/Images/EncodedImageBuffer.cs
src/Tizen.NUI/src/public/Images/NativeImageQueue.cs
src/Tizen.NUI/src/public/Images/NativeImageSource.cs
src/Tizen.NUI/src/public/Images/PixelBuffer.cs
src/Tizen.NUI/src/public/Images/PixelData.cs