Revert "[4.0] When native image is destroyed, It call TriggerEventInterface callback."
[platform/core/uifw/dali-adaptor.git] / adaptors / public-api / adaptor-framework / native-image-source.cpp
old mode 100644 (file)
new mode 100755 (executable)
index ba9a914..7897195
@@ -55,6 +55,16 @@ bool NativeImageSource::EncodeToFile(const std::string& filename) const
   return mImpl->EncodeToFile(filename);
 }
 
+void NativeImageSource::SetSource( Any source )
+{
+  mImpl->SetSource( source );
+}
+
+bool NativeImageSource::IsColorDepthSupported( ColorDepth colorDepth )
+{
+  return mImpl->IsColorDepthSupported( colorDepth );
+}
+
 bool NativeImageSource::GlExtensionCreate()
 {
   return mImpl->GlExtensionCreate();
@@ -72,7 +82,7 @@ unsigned int NativeImageSource::TargetTexture()
 
 void NativeImageSource::PrepareTexture()
 {
-
+  mImpl->PrepareTexture();
 }
 
 unsigned int NativeImageSource::GetWidth() const
@@ -90,6 +100,11 @@ bool NativeImageSource::RequiresBlending() const
   return mImpl->RequiresBlending();
 }
 
+NativeImageInterface::Extension* NativeImageSource::GetExtension()
+{
+  return mImpl->GetNativeImageInterfaceExtension();
+}
+
 NativeImageSource::NativeImageSource( unsigned int width, unsigned int height, ColorDepth depth, Any nativeImageSource )
 {
    mImpl = Internal::Adaptor::NativeImageSource::New( width, height, depth, nativeImageSource );