diff options
Diffstat (limited to 'src/nv_proto.h')
-rw-r--r-- | src/nv_proto.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nv_proto.h b/src/nv_proto.h index 8175e98..5eba275 100644 --- a/src/nv_proto.h +++ b/src/nv_proto.h @@ -43,6 +43,15 @@ static inline void nouveau_sync_fini(ScreenPtr pScreen) { } Bool nouveau_dri2_init(ScreenPtr pScreen); void nouveau_dri2_fini(ScreenPtr pScreen); +/* in nouveau_dri3.c */ +#ifdef DRI3 +Bool nouveau_dri3_init(ScreenPtr pScreen); +void nouveau_dri3_fini(ScreenPtr pScreen); +#else +static inline Bool nouveau_dri3_init(ScreenPtr pScreen) { return FALSE; } +static inline void nouveau_dri3_fini(ScreenPtr pScreen) { } +#endif + /* in nouveau_xv.c */ void NVInitVideo(ScreenPtr); void NVTakedownVideo(ScrnInfoPtr); |