Updates for NativeImageInterface
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / common / native-bitmap-buffer-impl.cpp
index 1741803..3aa9442 100644 (file)
@@ -79,12 +79,12 @@ void NativeBitmapBuffer::Write( const unsigned char *src, size_t size )
   mBuffer->Write( src, size ); // Write will cause LocklessBuffer to switch to the other buffer
 }
 
-bool NativeBitmapBuffer::GlExtensionCreate()
+bool NativeBitmapBuffer::CreateResource()
 {
   return true;
 }
 
-void NativeBitmapBuffer::GlExtensionDestroy()
+void NativeBitmapBuffer::DestroyResource()
 {
 }
 
@@ -108,6 +108,31 @@ bool NativeBitmapBuffer::RequiresBlending() const
   return Pixel::HasAlpha( mPixelFormat );
 }
 
+int NativeBitmapBuffer::GetTextureTarget() const
+{
+  return 0;
+}
+
+const char* NativeBitmapBuffer::GetCustomFragmentPrefix() const
+{
+  return nullptr;
+}
+
+const char* NativeBitmapBuffer::GetCustomSamplerTypename() const
+{
+  return nullptr;
+}
+
+Any NativeBitmapBuffer::GetNativeImageHandle() const
+{
+  return nullptr;
+}
+
+bool NativeBitmapBuffer::SourceChanged() const
+{
+  return false;
+}
+
 } // namespace Adaptor
 
 } // namespace Internal