75a1ee7aa8
This includes quite some refactoring. For the cube cap a VBO is used instead of glLists and all the required transformations are moved into paintCap() which makes paintScreen more clean. Currently the mirroring of bottom texture is still missing and cylinder and sphere caps are not yet ported to using VBO. I wouldn't be surprised if it is broken for legacy GL atm.
42 lines
981 B
CMake
42 lines
981 B
CMake
#######################################
|
|
# Effect
|
|
|
|
# Source files
|
|
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
|
|
cube/cube.cpp
|
|
cube/cube_proxy.cpp
|
|
cube/cubeslide.cpp
|
|
)
|
|
|
|
# .desktop files
|
|
install( FILES
|
|
cube/cube.desktop
|
|
cube/cubeslide.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
|
|
|
# Data files
|
|
install( FILES
|
|
cube/data/cube-cap.glsl
|
|
cube/data/cube-reflection.glsl
|
|
cube/data/cubecap.png
|
|
cube/data/cylinder.frag
|
|
cube/data/cylinder.vert
|
|
cube/data/sphere.vert
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin )
|
|
|
|
#######################################
|
|
# Config
|
|
|
|
# Source files
|
|
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
|
|
cube/cube_config.cpp
|
|
cube/cube_config.ui
|
|
cube/cubeslide_config.cpp
|
|
cube/cubeslide_config.ui
|
|
)
|
|
|
|
# .desktop files
|
|
install( FILES
|
|
cube/cube_config.desktop
|
|
cube/cubeslide_config.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|