| 1 | #ifndef __NOUVEAU_PRESENT_H__ |
| 2 | #define __NOUVEAU_PRESENT_H__ |
| 3 | |
| 4 | #include "xorg-server.h" |
| 5 | #include "scrnintstr.h" |
| 6 | |
| 7 | #ifdef HAVE_CONFIG_H |
| 8 | #include "config.h" |
| 9 | #endif |
| 10 | |
| 11 | #if defined(DRI3) |
| 12 | #include "present.h" |
| 13 | Bool nouveau_present_init(ScreenPtr pScreen); |
| 14 | void nouveau_present_fini(ScreenPtr pScreen); |
| 15 | #else |
| 16 | static inline Bool nouveau_present_init(ScreenPtr pScreen) { return FALSE; } |
| 17 | static inline void nouveau_present_fini(ScreenPtr pScreen) { } |
| 18 | #endif |
| 19 | #endif |