[Tizen] Restore Uploaded signal for BufferImage and ResourceImage
authorJiyun Yang <ji.yang@samsung.com>
Thu, 22 Nov 2018 02:06:08 +0000 (11:06 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 22 Nov 2018 02:11:49 +0000 (11:11 +0900)
This reverts commit 6c2a9c78f51ecffe5262bedba1295d6837c016fd.

Change-Id: I54c84af2404449a17409c21789ccae000bc92bdd

dali/internal/event/images/buffer-image-impl.cpp
dali/internal/event/images/resource-image-impl.cpp

index c8a6988..7ad879b 100644 (file)
@@ -165,6 +165,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 )
index 9269e15..737eb37 100644 (file)
@@ -146,6 +146,7 @@ void ResourceImage::Reload()
     mLoadingState = Dali::ResourceLoadingFailed;
   }
 
+  UploadedSignal().Emit( Dali::Image( this ) );
   mLoadingFinished.Emit( Dali::ResourceImage( this ) );
 }