[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
index 9efc7d3..7897195 100644 (file)
@@ -55,9 +55,14 @@ bool NativeImageSource::EncodeToFile(const std::string& filename) const
   return mImpl->EncodeToFile(filename);
 }
 
-void NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+void NativeImageSource::SetSource( Any source )
 {
-  mImpl->SetNativeImageSource( nativeImageSource );
+  mImpl->SetSource( source );
+}
+
+bool NativeImageSource::IsColorDepthSupported( ColorDepth colorDepth )
+{
+  return mImpl->IsColorDepthSupported( colorDepth );
 }
 
 bool NativeImageSource::GlExtensionCreate()
@@ -77,7 +82,7 @@ unsigned int NativeImageSource::TargetTexture()
 
 void NativeImageSource::PrepareTexture()
 {
-
+  mImpl->PrepareTexture();
 }
 
 unsigned int NativeImageSource::GetWidth() const