From ac58ac8b6648e1b72feedf3302524d42a663aaf2 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Mon, 5 Nov 2018 17:44:59 +0900 Subject: [PATCH] [Tizen] Restore Uploaded signal for BufferImage and ResourceImage This reverts commit 17475bf31b53b3393afb8a03d28613594970994c. Change-Id: Id3a860979a5f98faa1e7a9ce246e199bf181b4ec --- dali/internal/event/images/buffer-image-impl.cpp | 2 ++ dali/internal/event/images/resource-image-impl.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/dali/internal/event/images/buffer-image-impl.cpp b/dali/internal/event/images/buffer-image-impl.cpp index c8a6988..7ad879b 100644 --- a/dali/internal/event/images/buffer-image-impl.cpp +++ b/dali/internal/event/images/buffer-image-impl.cpp @@ -165,6 +165,8 @@ void BufferImage::UploadArea( const RectArea& area ) } PixelDataPtr pixelData = PixelData::New( buffer, bufferSize, mBufferWidth, bufferHeight, mPixelFormat, Dali::PixelData::FREE ); mTexture->Upload( pixelData, 0u, 0u, area.x, area.y, mBufferWidth, bufferHeight ); + + UploadedSignal().Emit( Dali::Image( this ) ); } void BufferImage::UpdateBufferArea( PixelBuffer* src, PixelBuffer* dest, const RectArea& area ) diff --git a/dali/internal/event/images/resource-image-impl.cpp b/dali/internal/event/images/resource-image-impl.cpp index 9269e15..737eb37 100644 --- a/dali/internal/event/images/resource-image-impl.cpp +++ b/dali/internal/event/images/resource-image-impl.cpp @@ -146,6 +146,7 @@ void ResourceImage::Reload() mLoadingState = Dali::ResourceLoadingFailed; } + UploadedSignal().Emit( Dali::Image( this ) ); mLoadingFinished.Emit( Dali::ResourceImage( this ) ); } -- 2.7.4