将gl_type
设置为system_gles2
以使用egl的Mali工具后,它会在display.cc(55)
启动时崩溃,错误消息似乎是EGL_BAD_NATIVE_WINDOW
,根据http://live.datatables.net/tayelawu/2/edit中的指南,需要设置gl_type以支持egl,但它不起作用,那么是否还需要做任何其他事情来支持egl?
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.5.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2010 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
[0101/001609:ERROR:user_log.cc(32)] Not implemented reached in static bool base::UserLog::IsRegistrationSupported()
[2531:969391044:WARNING:thread_set_name.cc(36)] Thread name "StorageManager SQL" was truncated to "StorageManager "
[0101/001609:FATAL:display.cc(55)] Check failed: 0x3000 == eglGetError() (12288 vs. 12299)
Caught signal: SIGABRT (6)
<unknown> [0xb5acb4d8]
<unknown> [0xb5acc8a4]
SbSystemGetErrorString [0xbca1c]
logging::LogMessage::~LogMessage() [0x7f348]
logging::LogMessage::~LogMessage() [0x7f348]
logging::LogMessage::~LogMessage() [0x7f348]
答案 0 :(得分:1)
您需要确保SbWindowGetPlatformHandle()
返回的值与系统上的EGL实现兼容。您可以查看EGL/eglplatform.h
以查看您的平台的EGLNativeWindowType
类型定义。例如,在Raspberry Pi上,它是指向包含多个字段的EGL_DISPMANX_WINDOW_T
的指针。