0

设置gl_typesystem_gles2使用 egl 的 Mali 工具后,display.cc(55)启动时会死机,并且错误消息似乎是这样EGL_BAD_NATIVE_WINDOW,从钴指南中的指南来看,需要设置 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]
4

1 回答 1

1

您需要确保返回的值SbWindowGetPlatformHandle()与您系统上的 EGL 实现兼容。您可以查看EGL/eglplatform.hEGLNativeWindowType的平台的类型定义。例如,在 Raspberry Pi 上,它是一个指向EGL_DISPMANX_WINDOW_T包含多个字段的 a 的指针。

于 2017-03-01T03:10:42.550 回答