[Tizen] Change tbm_bufmgr to tbm_dummy_display. 37/181737/2 submit/tizen_4.0/20180625.050109
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 18 Jun 2018 04:35:42 +0000 (13:35 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Thu, 21 Jun 2018 08:28:15 +0000 (08:28 +0000)
Change-Id: I95a38761a6c726496cb2fb1a5082e6c4e5ff8d3b

adaptors/tizen/display-connection-impl-tizen.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f65cf8d..6cb972e
@@ -20,6 +20,7 @@
 
 // EXTERNAL_HEADERS
 #include <tbm_bufmgr.h>
+#include <tbm_dummy_display.h>
 #include <dali/integration-api/debug.h>
 
 // INTERNAL HEADERS
@@ -37,14 +38,14 @@ namespace Adaptor
 
 EGLNativeDisplayType DisplayConnection::GetNativeDisplay()
 {
-  return reinterpret_cast< EGLNativeDisplayType >( tbm_bufmgr_init( -1 ) );
+  return reinterpret_cast< EGLNativeDisplayType >( tbm_dummy_display_create() );
 }
 
 void DisplayConnection::ReleaseNativeDisplay()
 {
   if( mDisplay )
   {
-    tbm_bufmgr_deinit( reinterpret_cast< tbm_bufmgr >( mDisplay ) );
+     tbm_dummy_display_destroy( reinterpret_cast< tbm_dummy_display* >( mDisplay ) );
   }
 }