[Tizen] Restore Uploaded signal for BufferImage and ResourceImage
authorJiyun Yang <ji.yang@samsung.com>
Mon, 17 Jun 2019 05:57:48 +0000 (14:57 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Mon, 17 Jun 2019 05:57:48 +0000 (14:57 +0900)
This reverts commit 5315900b8c5e038357d1403e40cef1e91b4b897e.

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

index 68c002782f9c3b5647042f3ab138aac5be1f1e89..008a361d06bd5af05831f67e08bf63b082d9167b 100644 (file)
@@ -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 )
index 9269e157391c4cd4bf393f7822f03e591fd8a909..737eb37237f4e1601fe8490086c3d42be252e1ee 100644 (file)
@@ -146,6 +146,7 @@ void ResourceImage::Reload()
     mLoadingState = Dali::ResourceLoadingFailed;
   }
 
+  UploadedSignal().Emit( Dali::Image( this ) );
   mLoadingFinished.Emit( Dali::ResourceImage( this ) );
 }