Merge branch 'devel/master' into tizen
[platform/core/uifw/dali-adaptor.git] / adaptors / common / native-bitmap-buffer-impl.cpp
index f445e10..0806755 100644 (file)
@@ -23,6 +23,7 @@
 #include <dali/integration-api/bitmap.h>
 
 // INTERNAL HEADERS
+#include <common/gl/gl-implementation.h>
 
 namespace Dali
 {
@@ -97,9 +98,9 @@ unsigned int NativeBitmapBuffer::GetHeight() const
   return mHeight;
 }
 
-Pixel::Format NativeBitmapBuffer::GetPixelFormat() const
+bool NativeBitmapBuffer::RequiresBlending() const
 {
-  return mPixelFormat;
+  return Pixel::HasAlpha( mPixelFormat );
 }
 
 } // namespace Adaptor