儲存庫 vbox 的更動 17243
- 時間撮記:
- 2009-3-2 上午11:13:01 (16 年 以前)
- 位置:
- trunk/src/VBox/Additions/x11/vboxvideo
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r16091 r17243 128 128 $(VBOX_PATH_X11_XORG_7_0) \ 129 129 $(VBOX_PATH_X11_XORG_7_0)/X11 \ 130 $(VBOX_PATH_X11_XORG_7_0)/xorg 130 $(VBOX_PATH_X11_XORG_7_0)/xorg \ 131 $(VBOX_PATH_X11_ROOT)/glproto-1.4.3 \ 132 $(VBOX_PATH_X11_ROOT)/libdrm-1.0.5 \ 133 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.0.3 131 134 vboxvideo_drv_70_SOURCES = \ 132 135 vboxvideo_70.c \ … … 144 147 $(VBOX_PATH_X11_XORG_7_1) \ 145 148 $(VBOX_PATH_X11_XORG_7_1)/X11 \ 146 $(VBOX_PATH_X11_XORG_7_1)/xorg 149 $(VBOX_PATH_X11_XORG_7_1)/xorg \ 150 $(VBOX_PATH_X11_ROOT)/glproto-1.4.7 \ 151 $(VBOX_PATH_X11_ROOT)/libdrm-2.0.1 \ 152 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.0.3 147 153 vboxvideo_drv_71_SOURCES = \ 148 154 vboxvideo_70.c \ … … 160 166 $(VBOX_PATH_X11_XORG_1_3) \ 161 167 $(VBOX_PATH_X11_XORG_1_3)/X11 \ 162 $(VBOX_PATH_X11_XORG_1_3)/xorg 168 $(VBOX_PATH_X11_XORG_1_3)/xorg \ 169 $(VBOX_PATH_X11_ROOT)/glproto-1.4.8 \ 170 $(VBOX_PATH_X11_ROOT)/libdrm-2.3.0 \ 171 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.0.3 163 172 vboxvideo_drv_13_SOURCES = \ 164 173 vboxvideo_13.c \ … … 179 188 $(VBOX_PATH_X11_XORG_1_4) \ 180 189 $(VBOX_PATH_X11_XORG_1_4)/X11 \ 181 $(VBOX_PATH_X11_XORG_1_4)/xorg 190 $(VBOX_PATH_X11_XORG_1_4)/xorg \ 191 $(VBOX_PATH_X11_ROOT)/glproto-1.4.8 \ 192 $(VBOX_PATH_X11_ROOT)/libdrm-2.3.0 \ 193 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.0.4 182 194 vboxvideo_drv_14_SOURCES = \ 183 195 vboxvideo_13.c \ … … 195 207 $(VBOX_PATH_X11_XORG_1_5) \ 196 208 $(VBOX_PATH_X11_XORG_1_5)/X11 \ 197 $(VBOX_PATH_X11_XORG_1_5)/xorg 209 $(VBOX_PATH_X11_XORG_1_5)/xorg \ 210 $(VBOX_PATH_X11_ROOT)/glproto-1.4.9 \ 211 $(VBOX_PATH_X11_ROOT)/libdrm-2.3.1 \ 212 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.0.4 198 213 vboxvideo_drv_15_SOURCES = \ 199 214 vboxvideo_15.c \ 200 vboxutils.c 215 vboxutils.c \ 216 vboxvideo_dri.c 201 217 202 218 … … 211 227 $(VBOX_PATH_X11_XORG_1_6) \ 212 228 $(VBOX_PATH_X11_XORG_1_6)/X11 \ 213 $(VBOX_PATH_X11_XORG_1_6)/xorg 229 $(VBOX_PATH_X11_XORG_1_6)/xorg \ 230 $(VBOX_PATH_X11_ROOT)/glproto-1.4.9 \ 231 $(VBOX_PATH_X11_ROOT)/libdrm-2.4.5 \ 232 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.0.4 214 233 vboxvideo_drv_16_SOURCES = \ 215 234 vboxvideo_15.c \ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r17085 r17243 109 109 #include "fb.h" 110 110 111 #define VBOX_VERSION 4000 111 #define VBOX_VERSION 4000 /* Why? */ 112 112 #include "xf86Cursor.h" 113 #define VBOX_NAME "VBoxVideo" 114 #define VBOX_DRIVER_NAME "vboxvideo" 113 #define VBOX_NAME "VBoxVideo" 114 #define VBOX_DRIVER_NAME "vboxvideo" 115 116 /* DRI support */ 117 #define _XF86DRI_SERVER_ 118 #include "dri.h" 119 #include "GL/glxint.h" 120 #include "GL/glxtokens.h" 121 122 /* For some reason this is not in the header files. */ 123 extern void GlxSetVisualConfigs(int nconfigs, __GLXvisualConfig *configs, 124 void **configprivs); 125 #define VBOX_VIDEO_MAJOR 1 126 #define VBOX_VIDEO_MINOR 0 127 #define VBOX_DRM_DRIVER_NAME "tdfx" /* For now, as this driver is basically a stub. */ 128 #define VBOX_DRI_DRIVER_NAME "swrast" /* For starters. */ 129 #define VBOX_MAX_DRAWABLES 256 /* At random. */ 115 130 116 131 #define VBOXPTR(p) ((VBOXPtr)((p)->driverPrivate)) … … 161 176 VMMDevMemory *pVMMDevMemory; 162 177 VBVAMEMORY *pVbvaMemory; 178 Bool useDRI; 179 int cVisualConfigs; 180 __GLXvisualConfig *pVisualConfigs; 181 DRIInfoRec *pDRIInfo; 182 int drmFD; 163 183 } VBOXRec, *VBOXPtr; 184 185 typedef struct { 186 int dummy; 187 } VBOXDRIContextRec, *VBOXDRIContextPtr; 164 188 165 189 extern Bool vbox_init(int scrnIndex, VBOXPtr pVBox); … … 183 207 extern Bool vboxRetrieveVideoMode(ScrnInfoPtr pScrn, uint32_t *pcx, uint32_t *pcy, uint32_t *pcBits); 184 208 209 /* DRI stuff */ 210 extern Bool VBOXDRIScreenInit(ScrnInfoPtr pScrn, VBOXPtr pVBox); 211 185 212 #endif /* _VBOXVIDEO_H_ */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器