{
EglImplementation& eglImpl = static_cast<EglImplementation&>(egl);
- if (!eglImpl.InitializeGles(reinterpret_cast<EGLNativeDisplayType>(mDisplay)))
+ if( !eglImpl.InitializeGles( mDisplay ) )
{
- DALI_LOG_ERROR("Failed to initialize GLES.");
+ DALI_LOG_ERROR("Failed to initialize GLES.\n");
return false;
}
else
- if MOBILE_PROFILE
libdali_adaptor_uv_la_CXXFLAGS += $(ECORE_WAYLAND_CFLAGS)
libdali_adaptor_uv_la_LIBADD += $(ECORE_WAYLAND_LIBS)
- endif
+if IVI_PROFILE
+libdali_adaptor_uv_la_CXXFLAGS += $(ECORE_WAYLAND_CFLAGS)
+libdali_adaptor_uv_la_LIBADD += $(ECORE_WAYLAND_LIBS)
+endif
+
endif
if USE_APPFW
else
- # dali-adaptor-uv for MOBILE profile needs ecore-wayland even if enable_efl==no
- # because adaptors/mobile/pixmap-render-surface-factory.cpp uses it.
- if test "x$enable_profile" = "xMOBILE"; then
+ # For adaptors/mobile/native-render-surface-factory.cpp
PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland)
- fi
+if test "x$enable_profile" = "xIVI"; then
+PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland)
+fi
+
fi
# Using Wayland API directly ( main loop agnostic, typically for running on libuv)
# wayland-extension-client include xdg-shell-client