[Tizen] Restore Uploaded signal for BufferImage and ResourceImage 58/168658/1 sandbox/upgrade/efl120 accepted/tizen/unified/20180206.064156 submit/tizen/20180205.023347 submit/tizen/20180205.100518
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 30 Jan 2018 05:31:05 +0000 (14:31 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 30 Jan 2018 05:31:15 +0000 (14:31 +0900)
This reverts commit e23ebe85c61c34e3d65554f4f85e4134f513ba32.

Change-Id: I7074ffee961614d59f2e382abb8435a7c781441a

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

index 7879f06..c34dede 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 dc116cc..ea72dcb 100644 (file)
@@ -186,6 +186,7 @@ void ResourceImage::Reload()
     mLoadingState = Dali::ResourceLoadingFailed;
   }
 
+  UploadedSignal().Emit( Dali::Image( this ) );
   mLoadingFinished.Emit( Dali::ResourceImage( this ) );
 }