From d2d43506df25b63d0385270b2cbd6ccc2ca16ccb Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Mon, 16 Jul 2018 14:39:41 +0900 Subject: [PATCH] [Tizen] Restore Uploaded signal for BufferImage and ResourceImage This reverts commit 06b8c9a280a635563b6a953ae040a6bd0f074394. --- 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 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 ) ); } -- 2.7.4