[Tizen] Restore Uploaded signal for BufferImage and ResourceImage accepted/tizen/unified/20190219.154111 submit/tizen/20190218.071155
authorSeungho, Baek <sbsh.baek@samsung.com>
Mon, 18 Feb 2019 05:36:21 +0000 (14:36 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Mon, 18 Feb 2019 05:36:28 +0000 (14:36 +0900)
This reverts commit 0081af71b392da4a55309bfa77d83c56b846c326.

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

index 68c0027..008a361 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 9269e15..737eb37 100644 (file)
@@ -146,6 +146,7 @@ void ResourceImage::Reload()
     mLoadingState = Dali::ResourceLoadingFailed;
   }
 
+  UploadedSignal().Emit( Dali::Image( this ) );
   mLoadingFinished.Emit( Dali::ResourceImage( this ) );
 }