[Tizen] Restore Uploaded signal for BufferImage and ResourceImage 65/131865/1
authorJinho, Lee <jeano.lee@samsung.com>
Wed, 31 May 2017 02:32:45 +0000 (11:32 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Wed, 31 May 2017 02:33:01 +0000 (11:33 +0900)
This reverts commit d43af698280788aa8d2ac4e727c89e2861a56449.

Change-Id: I3c16c196529fb01008a760865b4fd3f70bb417a3

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

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