[Tizen] Restore Uploaded signal for BufferImage and ResourceImage
authorSeungho, Baek <sbsh.baek@samsung.com>
Mon, 15 Jul 2019 05:56:51 +0000 (14:56 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Mon, 15 Jul 2019 05:56:59 +0000 (14:56 +0900)
This reverts commit 6216e77bf9b5c5a13655cf0fa585b76ad226b23d.

Change-Id: I15485a7eb3c184792850a5ec292d76a26ea4d046

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 ) );
 }