[Tizen] Restore Uploaded signal for BufferImage and ResourceImage 63/176963/1 accepted/tizen/unified/20180426.062507 submit/tizen/20180425.074123
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 24 Apr 2018 10:22:48 +0000 (19:22 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 24 Apr 2018 10:23:06 +0000 (19:23 +0900)
This reverts commit 93a773307bdefc1519f654a5c1a3595d77505518.

Change-Id: I76caa6836b4a3e6e57e0d7f31ba5f06fb0f8fe20

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