The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Community Workspace/Tegra3/Nexus7/EGL NOK issues

From Mer Wiki
Jump to: navigation, search

According to IRC, "eglext-tests" package provides tests. At least the following extensions are missing according to the tests and claimed to be used somewhere in Mer or Nemo:

  • EGL_NOK_image_shared
  • EGL_NOK_swap_region2
  • EGL_KHR_lock_surface2

Qt5 doesn't seem to contain any EGL_NOK usage but Qt 4.8 does:

xxxx@yyyy:/tmp/qt-everywhere-opensource-src-4.8.4$ grep -nrI EGL_NOK_ .
./src/opengl/qgl_egl.cpp:258:                    if (!QEgl::hasExtension("EGL_NOK_image_shared")) {
./src/opengl/qwindowsurface_gl.cpp:449:        haveNOKSwapRegion = QEgl::hasExtension("EGL_NOK_swap_region2");
./src/opengl/qwindowsurface_gl.cpp:453:            qDebug() << "Found EGL_NOK_swap_region2 extension. Using partial updates.";
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:89:        qFatal("EGL_NOK_image_shared not found but trying to use capability!");
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:97:        qFatal("EGL_NOK_image_shared not found but trying to use capability!");
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:105:        qFatal("EGL_NOK_image_shared not found but trying to use capability!");
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:113:        qFatal("EGL_NOK_surface_scaling not found but trying to use capability!");
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:173:    if (QEgl::hasExtension("EGL_NOK_image_shared")) {
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:174:        qDebug("MeegoGraphics: found EGL_NOK_image_shared");
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:185:    if (QEgl::hasExtension("EGL_NOK_surface_scaling")) {
./src/plugins/graphicssystems/meego/qmeegoextensions.cpp:186:        qDebug("MeegoGraphics: found EGL_NOK_surface_scaling");
./src/gui/egl/qegl.cpp:617:        if (QEgl::hasExtension("EGL_NOK_swap_region2")) {
./src/gui/egl/qegl.cpp:660:    qWarning("QEgl::eglSwapBuffersRegion2NOK() called but EGL_NOK_swap_region2 extension not present");

NOTE: It seems that all NOK extensions might be used mostly for performance and only if available. So not having them doesn't seem to be fatal at a quick look.

See EGL_extensions for a list of extensions and how they are supported on different hardware.

Personal tools