From 6b3059351d444bd6eb1e34b44474c5aa2bc3c64c Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Fri, 22 Jun 2018 10:13:25 +0900 Subject: [PATCH] [Tizen] Restore Uploaded signal for BufferImage and ResourceImage This reverts commit f69da1df23c0663ab3a815af48f9f70adb52438c. Change-Id: If797732554ee5bfe324b151c4bace4163c775049 --- 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