From: taeyoon0.lee Date: Wed, 11 Oct 2017 08:31:12 +0000 (+0900) Subject: [4.0] Restore Uploaded signal for BufferImage and ResourceImage X-Git-Tag: accepted/tizen/4.0/unified/20171012.230017~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=commitdiff_plain;h=a71dd9f900dfb077304645d608b1049b8e404700 [4.0] Restore Uploaded signal for BufferImage and ResourceImage This reverts commit bf0fc38794304b32d2bb7770e42d2e0dc82c4714. Change-Id: I155d729832ca9c01d3e298d11d92e29ffe7566f4 --- 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 ) ); }