d3d8: Get rid of the format switching code in d3d8_device_CopyRects().
[wine.git] / dlls / winex11.drv / xcomposite.h
blobae5792f5801c86331944611ddb24ee4b0d1c441f
1 /*
2 * Wine X11DRV XComposite interface
4 * Copyright 2007 Chris Robinson
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_XCOMPOSITE_H
21 #define __WINE_XCOMPOSITE_H
23 #ifndef __WINE_CONFIG_H
24 # error You must include config.h to use this header
25 #endif
27 #ifdef SONAME_LIBXCOMPOSITE
29 #include <X11/extensions/Xcomposite.h>
30 #define MAKE_FUNCPTR(f) extern typeof(f) * p##f DECLSPEC_HIDDEN;
31 MAKE_FUNCPTR(XCompositeQueryExtension)
32 MAKE_FUNCPTR(XCompositeQueryVersion)
33 MAKE_FUNCPTR(XCompositeVersion)
34 MAKE_FUNCPTR(XCompositeRedirectWindow)
35 MAKE_FUNCPTR(XCompositeRedirectSubwindows)
36 MAKE_FUNCPTR(XCompositeUnredirectWindow)
37 MAKE_FUNCPTR(XCompositeUnredirectSubwindows)
38 MAKE_FUNCPTR(XCompositeCreateRegionFromBorderClip)
39 MAKE_FUNCPTR(XCompositeNameWindowPixmap)
40 #undef MAKE_FUNCPTR
42 #endif /* defined(SONAME_LIBXCOMPOSITE) */
43 #endif /* __WINE_XCOMPOSITE_H */