From: Seungho, Baek Date: Mon, 16 Apr 2018 05:37:01 +0000 (+0900) Subject: [Tizen] Restore Uploaded signal for BufferImage and ResourceImage X-Git-Tag: accepted/tizen/unified/20180417.173121^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F175984%2F1;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Restore Uploaded signal for BufferImage and ResourceImage This reverts commit 0ec541f0ff60ea72a51ff1141f33a5fd0048c382. Change-Id: I43bf5f47953a6f55227257cf475f83a9e5ddde5e --- diff --git a/dali/internal/event/images/buffer-image-impl.cpp b/dali/internal/event/images/buffer-image-impl.cpp index 7879f06..c34dede 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 dc116cc..ea72dcb 100644 --- a/dali/internal/event/images/resource-image-impl.cpp +++ b/dali/internal/event/images/resource-image-impl.cpp @@ -186,6 +186,7 @@ void ResourceImage::Reload() mLoadingState = Dali::ResourceLoadingFailed; } + UploadedSignal().Emit( Dali::Image( this ) ); mLoadingFinished.Emit( Dali::ResourceImage( this ) ); }