[Tizen] Restore Uploaded signal for BufferImage and ResourceImage
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 20 Aug 2018 05:06:08 +0000 (14:06 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 20 Aug 2018 05:06:20 +0000 (14:06 +0900)
This reverts commit a635e7ec3e02dcf4385014339792e9ff29aa7aa3.

Change-Id: Ibbf337f7313a7bdaa0b8308bb0b018b8fb3909cb

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