X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Ftizen%2Fnative-image-source-impl-tizen.cpp;h=3afb87bce7a2d8f8c82bf782982c0cc1b0afe43e;hb=42a87676ee90611c5f6085187919fb11e10b19f5;hp=fecf43b602326b94ef11b4193d40b16fdda1da9a;hpb=5b213e495ebc431405e13ed47e15e2bef45a9e20;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/tizen/native-image-source-impl-tizen.cpp b/adaptors/tizen/native-image-source-impl-tizen.cpp old mode 100644 new mode 100755 index fecf43b..3afb87b --- a/adaptors/tizen/native-image-source-impl-tizen.cpp +++ b/adaptors/tizen/native-image-source-impl-tizen.cpp @@ -29,8 +29,6 @@ #include #include #include -#include - // Allow this to be encoded and saved: #include @@ -90,8 +88,7 @@ NativeImageSource::NativeImageSource( unsigned int width, unsigned int height, D mColorDepth( depth ), mEglImageKHR( NULL ), mEglImageExtensions( NULL ), - mSetSource( false ), - mNotification( NULL ) + mSetSource( false ) { DALI_ASSERT_ALWAYS( Adaptor::IsAvailable() ); EglFactory& eglFactory = Adaptor::GetImplementation( Adaptor::Get() ).GetEGLFactory(); @@ -200,11 +197,6 @@ NativeImageSource::~NativeImageSource() if( mTbmSurface != NULL ) { tbm_surface_internal_unref( mTbmSurface ); - - if (mNotification != NULL) { - TriggerEventInterface* triggerEvent = static_cast(mNotification); - triggerEvent->Trigger(); - } } } } @@ -214,12 +206,6 @@ Any NativeImageSource::GetNativeImageSource() const return Any( mTbmSurface ); } - -void NativeImageSource::SetDestructorNotification(void* notification) -{ - mNotification = notification; -} - bool NativeImageSource::GetPixels(std::vector& pixbuf, unsigned& width, unsigned& height, Pixel::Format& pixelFormat) const { if( mTbmSurface != NULL )