X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fimages%2Fbuffer-image-impl.cpp;h=008a361d06bd5af05831f67e08bf63b082d9167b;hb=86f490fd375d6e88bc393a35170d0aea183a0691;hp=c8a69881a7c5f164effebb8760823831b9fe3187;hpb=6d807a0c933c6f4899606876e2baf4a4e3cd6110;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/images/buffer-image-impl.cpp b/dali/internal/event/images/buffer-image-impl.cpp index c8a6988..008a361 100644 --- a/dali/internal/event/images/buffer-image-impl.cpp +++ b/dali/internal/event/images/buffer-image-impl.cpp @@ -34,6 +34,11 @@ namespace Dali namespace Internal { +namespace +{ +TypeRegistration mType( typeid( Dali::BufferImage ), typeid( Dali::Image ), NULL ); +} // unnamed namespace + BufferImagePtr BufferImage::New( unsigned int width, unsigned int height, Pixel::Format pixelformat ) @@ -165,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 )