From: Seungho, Baek Date: Tue, 21 Jan 2020 08:30:02 +0000 (+0900) Subject: [Tizen] Restore Uploaded signal for BufferImage and ResourceImage X-Git-Tag: submit/tizen/20200121.102439~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe46d6ea47e7e03d2b29427dbcaccaa87a350262;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Restore Uploaded signal for BufferImage and ResourceImage This reverts commit 653209df7507d1c4381a9a96cef20dab5b12c1d2. --- diff --git a/dali/internal/event/images/buffer-image-impl.cpp b/dali/internal/event/images/buffer-image-impl.cpp index 68c002782..008a361d0 100644 --- a/dali/internal/event/images/buffer-image-impl.cpp +++ b/dali/internal/event/images/buffer-image-impl.cpp @@ -170,6 +170,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 9269e1573..737eb3723 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 ) ); }