qt5webkit-0001-egl-includepath.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From d6b1b33a12c0cf6c52667afafe34e58a7b00d0d8 Mon Sep 17 00:00:00 2001
  2. From: Floris Bos <bos@je-eigen-domein.nl>
  3. Date: Thu, 7 Mar 2013 19:25:17 +0100
  4. Subject: [PATCH] Webcore: add EGL and OpenGL (ES) INCDIR to INCLUDEPATH
  5. When building with 3D graphics support enabled, add the
  6. OpenGL (ES) and EGL include directories to the include path.
  7. Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
  8. ---
  9. Source/WebCore/Target.pri | 4 ++++
  10. 1 file changed, 4 insertions(+)
  11. diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri
  12. index 2669748..421a849 100644
  13. --- a/Source/WebCore/Target.pri
  14. +++ b/Source/WebCore/Target.pri
  15. @@ -3992,15 +3992,19 @@ use?(3D_GRAPHICS) {
  16. contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) {
  17. !contains(QT_CONFIG, opengles2) {
  18. + INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
  19. SOURCES += \
  20. platform/graphics/opengl/GraphicsContext3DOpenGL.cpp \
  21. platform/graphics/opengl/Extensions3DOpenGL.cpp
  22. } else {
  23. + INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
  24. SOURCES += \
  25. platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp \
  26. platform/graphics/opengl/Extensions3DOpenGLES.cpp
  27. }
  28. + !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
  29. +
  30. HEADERS += platform/graphics/opengl/Extensions3DOpenGL.h
  31. SOURCES += \
  32. --
  33. 1.7.10.4