[Tizen] Restore Uploaded signal for BufferImage and ResourceImage
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 28 May 2020 05:11:20 +0000 (14:11 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 28 May 2020 05:11:24 +0000 (14:11 +0900)
Change-Id: Id100f5b3381963f71b1f4eeb777f1179985ea918

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