]> code.ossystems Code Review - meta-freescale.git/commit
amd-gpu-x11-mx51: use x11 compatible eglplatform.h
authorFlorian Vallee <fvallee@eukrea.fr>
Wed, 24 Jun 2015 09:27:02 +0000 (11:27 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 3 Jul 2015 17:33:54 +0000 (14:33 -0300)
commit0cfd36df4ebd246d872c1452bf93a14e21408d58
treee4cc203e2cc83cf154b3658027449568ac1f52b6
parent21c8b02665f9f2b175dcd73a4b35d932991ecee5
amd-gpu-x11-mx51: use x11 compatible eglplatform.h

Freescale's default eglplatform.h contains framebuffer headers while
  X11 compatible headers are located in eglplatform_1.4.h [1], therefore
  overwrite eglplatform.h with eglplatform_1.4.h during install.

  This fixes EGL on X support through xcb.

  For instance Qt5 would fail to enable CFG_EGL_X [2] due to the
  following build error during configure :

    invalid conversion from 'EGLNativeDisplayType {aka void*}' to
    'Display* {aka _XDisplay*}' [-fpermissive]

  This further resulted in a runtime error with Qt5_CinematicExperience:

    QXcbIntegration: Cannot create platform OpenGL context, neither GLX
    nor EGL are enabled

  [1]: http://lists.busybox.net/pipermail/buildroot/2014-November/111475.html
  [2]: https://codereview.qt-project.org/#/c/77523/

Signed-off-by: Florian Vallee <fvallee@eukrea.fr>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb