[Tizen] Restore Uploaded signal for BufferImage and ResourceImage
authorSunghyun kim <scholb.kim@samsung.com>
Tue, 13 Nov 2018 06:14:11 +0000 (15:14 +0900)
committerSunghyun kim <scholb.kim@samsung.com>
Tue, 13 Nov 2018 06:14:23 +0000 (15:14 +0900)
This reverts commit 6d807a0c933c6f4899606876e2baf4a4e3cd6110.

Change-Id: I6ee98d96d156f9ae66cf4051b805b54be47489bc

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