[Tizen] Restore Uploaded signal for BufferImage and ResourceImage 22/140122/1
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Mon, 24 Jul 2017 03:03:34 +0000 (12:03 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Mon, 24 Jul 2017 03:03:49 +0000 (12:03 +0900)
This reverts commit ccfa69a7d37b27e4975ad1fd02a293a2bca97900.

Change-Id: Ifd26827a10e5ec3a446568e7d00b17b5dbec5007

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