Export wayland-egl client hwintegration

Support wayland-egl client hwintegration
as a module for external build.

Change-Id: I3e82838d0cc89d4bb1435b835dc1e9b592319ddf
Reviewed-by: Elvis Lee <kwangwoong.lee@lge.com>
Reviewed-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Elvis Lee 2020-12-30 16:56:33 +09:00
parent 2fca2ca03a
commit 5beb9d4e0d
3 changed files with 3 additions and 12 deletions

View File

@ -52,6 +52,7 @@ if (QT_FEATURE_wayland_server)
endif()
if (QT_FEATURE_wayland_server OR QT_FEATURE_wayland_client)
add_subdirectory(hardwareintegration)
add_subdirectory(plugins)
add_subdirectory(imports)
endif()

View File

@ -9,22 +9,12 @@ qt_internal_add_plugin(QWaylandEglClientBufferPlugin
OUTPUT_NAME qt-plugin-wayland-egl
TYPE wayland-graphics-integration-client
SOURCES
../../../../hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.cpp ../../../../hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
../../../../hardwareintegration/client/wayland-egl/qwaylandeglinclude.h
../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.h
main.cpp
INCLUDE_DIRECTORIES
../../../../hardwareintegration/client/wayland-egl
PUBLIC_LIBRARIES
${CMAKE_DL_LIBS}
EGL::EGL
Qt::Core
Qt::Gui
Qt::OpenGLPrivate
Qt::WaylandClientPrivate
Wayland::Client
Wayland::Egl
Qt::WaylandEglClientHwIntegrationPrivate
)
#### Keys ignored in scope 1:.:.:wayland-egl.pro:<TRUE>:

View File

@ -38,7 +38,7 @@
****************************************************************************/
#include <QtWaylandClient/private/qwaylandclientbufferintegrationplugin_p.h>
#include "qwaylandeglclientbufferintegration.h"
#include <QtWaylandEglClientHwIntegration/private/qwaylandeglclientbufferintegration_p.h>
QT_BEGIN_NAMESPACE