summaryrefslogtreecommitdiffstats
path: root/src/opengl/opengl.pro
blob: f190616ca8805080a0a1d4cb09b211750fbfed46 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
TARGET     = QtOpenGL
QT         = core-private gui-private

DEFINES   += QT_NO_USING_NAMESPACE QT_NO_FOREACH

QMAKE_DOCS = $$PWD/doc/qtopengl.qdocconf

qtConfig(opengl): CONFIG += opengl
qtConfig(opengles2): CONFIG += opengles2

HEADERS += \
    qopengl2pexvertexarray_p.h \
    qopenglbuffer.h \
    qopenglcustomshaderstage_p.h \
    qopengldebug.h \
    qopenglengineshadermanager_p.h \
    qopenglengineshadersource_p.h \
    qopenglframebufferobject.h \
    qopenglframebufferobject_p.h \
    qopenglgradientcache_p.h \
    qopenglpaintdevice.h \
    qopenglpaintdevice_p.h \
    qopenglpaintengine_p.h \
    qopenglpixeltransferoptions.h \
    qopenglshadercache_p.h \
    qopenglshaderprogram.h \
    qopengltexture.h \
    qopengltexture_p.h \
    qopengltexturehelper_p.h \
    qopengltextureblitter.h \
    qopengltexturecache_p.h \
    qopengltextureglyphcache_p.h \
    qopengltextureuploader_p.h \
    qopenglversionfunctions.h \
    qopenglversionfunctions_p.h \
    qopenglversionfunctionsfactory.h \
    qopenglversionprofile.h \
    qopenglvertexarrayobject.h \
    qopenglwindow.h \
    qtopenglglobal.h \
    qplatformbackingstoreopenglsupport.h

SOURCES += \
    qopengl2pexvertexarray.cpp \
    qopenglbuffer.cpp \
    qopenglcustomshaderstage.cpp \
    qopenglengineshadermanager.cpp \
    qopenglframebufferobject.cpp \
    qopenglgradientcache.cpp \
    qopenglpaintdevice.cpp \
    qopenglpaintengine.cpp \
    qopenglpixeltransferoptions.cpp \
    qopenglshaderprogram.cpp \
    qopengltexture.cpp \
    qopengltexturehelper.cpp \
    qopengltextureblitter.cpp \
    qopengltexturecache.cpp \
    qopengltextureglyphcache.cpp \
    qopengltextureuploader.cpp \
    qopenglversionfunctions.cpp \
    qopenglversionfunctionsfactory.cpp \
    qopenglversionprofile.cpp \
    qopenglvertexarrayobject.cpp \
    qopenglwindow.cpp \
    qopengldebug.cpp \
    qplatformbackingstoreopenglsupport.cpp

!qtConfig(opengles2) {
    HEADERS += \
        qopenglfunctions_1_0.h \
        qopenglfunctions_1_1.h \
        qopenglfunctions_1_2.h \
        qopenglfunctions_1_3.h \
        qopenglfunctions_1_4.h \
        qopenglfunctions_1_5.h \
        qopenglfunctions_2_0.h \
        qopenglfunctions_2_1.h \
        qopenglfunctions_3_0.h \
        qopenglfunctions_3_1.h \
        qopenglfunctions_3_2_core.h \
        qopenglfunctions_3_3_core.h \
        qopenglfunctions_4_0_core.h \
        qopenglfunctions_4_1_core.h \
        qopenglfunctions_4_2_core.h \
        qopenglfunctions_4_3_core.h \
        qopenglfunctions_4_4_core.h \
        qopenglfunctions_4_5_core.h \
        qopenglfunctions_3_2_compatibility.h \
        qopenglfunctions_3_3_compatibility.h \
        qopenglfunctions_4_0_compatibility.h \
        qopenglfunctions_4_1_compatibility.h \
        qopenglfunctions_4_2_compatibility.h \
        qopenglfunctions_4_3_compatibility.h \
        qopenglfunctions_4_4_compatibility.h \
        qopenglfunctions_4_5_compatibility.h \
        qopenglqueryhelper_p.h \
        qopengltimerquery.h

    SOURCES += \
        qopenglfunctions_1_0.cpp \
        qopenglfunctions_1_1.cpp \
        qopenglfunctions_1_2.cpp \
        qopenglfunctions_1_3.cpp \
        qopenglfunctions_1_4.cpp \
        qopenglfunctions_1_5.cpp \
        qopenglfunctions_2_0.cpp \
        qopenglfunctions_2_1.cpp \
        qopenglfunctions_3_0.cpp \
        qopenglfunctions_3_1.cpp \
        qopenglfunctions_3_2_core.cpp \
        qopenglfunctions_3_3_core.cpp \
        qopenglfunctions_4_0_core.cpp \
        qopenglfunctions_4_1_core.cpp \
        qopenglfunctions_4_2_core.cpp \
        qopenglfunctions_4_3_core.cpp \
        qopenglfunctions_4_4_core.cpp \
        qopenglfunctions_4_5_core.cpp \
        qopenglfunctions_3_2_compatibility.cpp \
        qopenglfunctions_3_3_compatibility.cpp \
        qopenglfunctions_4_0_compatibility.cpp \
        qopenglfunctions_4_1_compatibility.cpp \
        qopenglfunctions_4_2_compatibility.cpp \
        qopenglfunctions_4_3_compatibility.cpp \
        qopenglfunctions_4_4_compatibility.cpp \
        qopenglfunctions_4_5_compatibility.cpp \
        qopengltimerquery.cpp
}

qtConfig(opengles2) {
    HEADERS += qopenglfunctions_es2.h
    SOURCES += qopenglfunctions_es2.cpp
}

qtConfig(vulkan) {
    CONFIG += generated_privates

    HEADERS += qvkconvenience_p.h
    SOURCES += qvkconvenience.cpp

    # Applications must inherit the Vulkan header include path.
    QMAKE_USE += vulkan/nolink
}

qtConfig(egl) {
    SOURCES += \
        qopenglcompositorbackingstore.cpp \
        qopenglcompositor.cpp

    HEADERS += \
        qopenglcompositorbackingstore_p.h \
        qopenglcompositor_p.h
}

load(qt_module)