2017-09-08 20:30:18 +00:00
|
|
|
set(SCENE_OPENGL_BACKEND_SRCS
|
|
|
|
abstract_egl_backend.cpp
|
|
|
|
backend.cpp
|
2019-10-26 03:40:01 +00:00
|
|
|
egl_dmabuf.cpp
|
2020-01-09 17:18:27 +00:00
|
|
|
swap_profiler.cpp
|
2017-09-08 20:30:18 +00:00
|
|
|
texture.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR})
|
|
|
|
|
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
|
|
ecm_qt_declare_logging_category(SCENE_OPENGL_BACKEND_SRCS
|
|
|
|
HEADER
|
|
|
|
logging.h
|
|
|
|
IDENTIFIER
|
|
|
|
KWIN_OPENGL
|
|
|
|
CATEGORY_NAME
|
|
|
|
kwin_scene_opengl
|
|
|
|
DEFAULT_SEVERITY
|
|
|
|
Critical
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(SceneOpenGLBackend STATIC ${SCENE_OPENGL_BACKEND_SRCS})
|
2018-02-09 20:00:41 +00:00
|
|
|
target_link_libraries(SceneOpenGLBackend Qt5::Core Qt5::Widgets KF5::CoreAddons KF5::ConfigCore KF5::WindowSystem KF5::WaylandServer)
|