Forgot svn add.
svn path=/trunk/KDE/kdebase/workspace/; revision=749630
This commit is contained in:
parent
d43b34aa0b
commit
c222bdfff4
1 changed files with 74 additions and 0 deletions
74
lib/kwinconfig.h.cmake
Normal file
74
lib/kwinconfig.h.cmake
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
/*
|
||||||
|
|
||||||
|
This file includes config #define's for KWin's libraries
|
||||||
|
that are installed. Installed files and files using them
|
||||||
|
should be using these instead of their own.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef KWINCONFIG_H
|
||||||
|
#define KWINCONFIG_H
|
||||||
|
|
||||||
|
#if ${HAVE_OPENGL}
|
||||||
|
#define KWIN_HAVE_OPENGL 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_OPENGL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ${HAVE_XRENDER}
|
||||||
|
#define KWIN_HAVE_XRENDER 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_XRENDER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ${HAVE_XFIXES}
|
||||||
|
#define KWIN_HAVE_XFIXES 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_XFIXES
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ${HAVE_XDAMAGE}
|
||||||
|
#define KWIN_HAVE_XDAMAGE 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_XDAMAGE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ${HAVE_XCOMPOSITE}
|
||||||
|
#define KWIN_HAVE_XCOMPOSITE 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_XCOMPOSITE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
These should be primarily used to detect what kind of compositing
|
||||||
|
support is available.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* KWIN_HAVE_COMPOSITING - whether any compositing support is available */
|
||||||
|
#if defined( KWIN_HAVE_XCOMPOSITE ) && defined( KWIN_HAVE_XDAMAGE )
|
||||||
|
#define KWIN_HAVE_COMPOSITING 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_COMPOSITING
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* KWIN_HAVE_OPENGL_COMPOSITING - whether OpenGL-based compositing support is available */
|
||||||
|
#if defined( KWIN_HAVE_COMPOSITING ) && defined( KWIN_HAVE_OPENGL )
|
||||||
|
#define KWIN_HAVE_OPENGL_COMPOSITING 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_OPENGL_COMPOSITING
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* KWIN_HAVE_XRENDER_COMPOSITING - whether XRender-based compositing support is available */
|
||||||
|
#if defined( KWIN_HAVE_COMPOSITING ) && defined( KWIN_HAVE_XRENDER ) && defined( KWIN_HAVE_XFIXES )
|
||||||
|
#define KWIN_HAVE_XRENDER_COMPOSITING 1
|
||||||
|
#else
|
||||||
|
#undef KWIN_HAVE_XRENDER_COMPOSITING
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( KWIN_HAVE_OPENGL_COMPOSITING ) && !defined( KWIN_HAVE_XRENDER_COMPOSITING )
|
||||||
|
#undef KWIN_HAVE_COMPOSITING
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue