summaryrefslogtreecommitdiffstats
path: root/src/qt-compositor/hardware_integration/hardware_integration.pri
blob: e92fc93724d9e16379d7b50f6f99c41d9fdbea81 (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
HEADERS += \
    $$PWD/graphicshardwareintegration.h

SOURCES += \
    $$PWD/graphicshardwareintegration.cpp

wayland_gl {
    contains(QT_CONFIG, opengles2) {
        xpixmap_egl {
            include ($$PWD/xpixmap_egl/xpixmap_egl.pri)
        }

        mesa_egl {
            include ($$PWD/mesa_egl/mesa_egl.pri)
                DEFINES += QT_COMPOSITOR_MESA_EGL
        }

        dri2_xcb {
            include ($$PWD/dri2_xcb/dri2_xcb.pri)
                DEFINES += QT_COMPOSITOR_DRI2_XCB
        }

    } else {
        xpixmap_glx {
            include ($$PWD/xpixmap_glx/xpixmap_glx.pri)
        }
    }


}