[3.0] NativeImageSource with tbm_surface for tizen 3.0 wayland
[platform/core/uifw/dali-adaptor.git] / adaptors / public-api / adaptor-framework / native-image-source.cpp
index ba9a914..9efc7d3 100644 (file)
@@ -55,6 +55,11 @@ bool NativeImageSource::EncodeToFile(const std::string& filename) const
   return mImpl->EncodeToFile(filename);
 }
 
+void NativeImageSource::SetNativeImageSource( Any nativeImageSource )
+{
+  mImpl->SetNativeImageSource( nativeImageSource );
+}
+
 bool NativeImageSource::GlExtensionCreate()
 {
   return mImpl->GlExtensionCreate();
@@ -90,6 +95,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 );