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