Changeset 55402 in vbox for trunk/src/VBox/Additions/x11/vboxvideo
- Timestamp:
- Apr 23, 2015 10:07:14 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r55392 r55402 55 55 */ 56 56 57 #ifdef XORG_7X58 # include <stdlib.h>59 # include <string.h>60 #endif61 62 #include "xf86.h"63 #include "xf86_OSproc.h"64 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 665 # include "xf86Resources.h"66 #endif67 68 /* This was accepted upstream in X.Org Server 1.16 which bumped the video69 * driver ABI to 17. */70 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 1771 # define SET_HAVE_VT_PROPERTY72 #endif73 74 #ifndef PCIACCESS75 /* Drivers for PCI hardware need this */76 # include "xf86PciInfo.h"77 /* Drivers that need to access the PCI config space directly need this */78 # include "xf86Pci.h"79 #endif80 81 #include "fb.h"82 83 57 #include "vboxvideo.h" 84 58 #include <VBox/VBoxGuest.h> … … 86 60 #include "version-generated.h" 87 61 #include "product-generated.h" 88 #include <xf86.h> 89 #include <misc.h> 90 91 /* All drivers initialising the SW cursor need this */ 92 #include "mipointer.h" 93 94 /* Colormap handling */ 62 63 /* Basic definitions and functions needed by all drivers. */ 64 #include "xf86.h" 65 /* For video memory mapping. */ 66 #include "xf86_OSproc.h" 67 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 68 /* PCI resources. */ 69 # include "xf86Resources.h" 70 #endif 71 /* Generic server linear frame-buffer APIs. */ 72 #include "fb.h" 73 /* Colormap and visual handling. */ 95 74 #include "micmap.h" 96 75 #include "xf86cmap.h" 97 98 /* DPMS */99 /* #define DPMS_SERVER100 #include "extensions/dpms.h" */101 102 76 /* ShadowFB support */ 103 77 #include "shadowfb.h" 104 105 78 /* VGA hardware functions for setting and restoring text mode */ 106 79 #include "vgaHW.h" 107 80 #ifdef VBOX_DRI 81 # include "xf86drm.h" 82 # include "xf86drmMode.h" 83 #endif 108 84 #ifdef VBOXVIDEO_13 109 85 /* X.org 1.3+ mode setting */ … … 112 88 # include "xf86Modes.h" 113 89 #endif 114 115 90 /* For setting the root window property. */ 116 #include <X11/Xatom.h>117 91 #include "property.h" 118 119 #ifdef VBOX_DRI 120 # include "xf86drm.h" 121 # include "xf86drmMode.h" 92 #include "X11/Xatom.h" 93 94 #ifdef XORG_7X 95 # include <stdlib.h> 96 # include <string.h> 97 #endif 98 99 /* This was accepted upstream in X.Org Server 1.16 which bumped the video 100 * driver ABI to 17. */ 101 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 17 102 # define SET_HAVE_VT_PROPERTY 122 103 #endif 123 104
Note:
See TracChangeset
for help on using the changeset viewer.