Changeset 43270 in vbox for trunk/src/VBox/Additions/x11/vboxvideo
- Timestamp:
- Sep 10, 2012 3:08:03 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80681
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r43257 r43270 23 23 # 24 24 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk 25 26 vboxvideo_70_DEFS := \ 27 IN_MODULE XORG_7X RENDER=1 IN_RT_STATIC 28 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 29 vboxvideo_70_DEFS += __EXTENSIONS__ ## @todo Why this? 30 endif 31 vboxvideo_13_DEFS := $(vboxvideo_70_DEFS) VBOXVIDEO_13 32 vboxvideo_15_DEFS := \ 33 $(vboxvideo_13_DEFS) VBOX_DRI NO_ANSIC PCIACCESS XSERVER_LIBPCIACCESS 25 34 26 35 # … … 109 118 -Wno-conversion -Wno-unused-parameter $(VBOX_GCC_Wno-variadic-macros) # template? 110 119 endif 111 vboxvideo_drv_70_DEFS := \ 112 XFree86Server IN_MODULE XFree86Module XFree86LOADER XORG_7X RENDER=1 IN_XF86_MODULE IN_RT_STATIC 120 vboxvideo_drv_70_DEFS = $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=700000000 113 121 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 114 vboxvideo_drv_70_DEFS += __EXTENSIONS__115 122 vboxvideo_drv_70_CFLAGS += -D_XPG6 # Until we have moved the C++ bits into a library 116 123 endif … … 129 136 vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD 130 137 vboxvideo_drv_71_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 131 vboxvideo_drv_71_DEFS := $(vboxvideo_ drv_70_DEFS)138 vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=700100000 132 139 vboxvideo_drv_71_INCS = \ 133 140 $(VBOX_PATH_X11_XORG_7_1) \ … … 144 151 vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD 145 152 vboxvideo_drv_13_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 146 vboxvideo_drv_13_DEFS := $(vboxvideo_ drv_70_DEFS) VBOXVIDEO_13153 vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100300000 147 154 vboxvideo_drv_13_INCS = \ 148 155 $(VBOX_PATH_X11_XORG_1_3) \ … … 163 170 vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD 164 171 vboxvideo_drv_14_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 165 vboxvideo_drv_14_DEFS := $(vboxvideo_ drv_13_DEFS)172 vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100400000 166 173 vboxvideo_drv_14_INCS = \ 167 174 $(VBOX_PATH_X11_XORG_1_4) \ … … 182 189 vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD 183 190 vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 184 vboxvideo_drv_15_DEFS := $(vboxvideo_drv_13_DEFS) NO_ANSIC PCIACCESS \ 185 VBOX_NO_LOW_COLOUR 191 vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100503000 186 192 if1of ($(KBUILD_TARGET), linux solaris) 187 193 vboxvideo_drv_15_DEFS += VBOX_DRI … … 209 215 vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD 210 216 vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 211 vboxvideo_drv_16_DEFS := $(vboxvideo_ drv_15_DEFS)217 vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100600000 212 218 vboxvideo_drv_16_INCS = \ 213 219 $(VBOX_PATH_X11_XORG_1_6) \ … … 229 235 vboxvideo_drv_17_TEMPLATE = VBOXGUESTR3XORGMOD 230 236 vboxvideo_drv_17_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 231 vboxvideo_drv_17_DEFS := $(vboxvideo_ drv_15_DEFS)237 vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100699000 232 238 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 233 239 vboxvideo_drv_17_INCS = \ … … 256 262 vboxvideo_drv_18_TEMPLATE = VBOXGUESTR3XORGMOD 257 263 vboxvideo_drv_18_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 258 vboxvideo_drv_18_DEFS := $(vboxvideo_ drv_15_DEFS)264 vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100800000 259 265 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 260 266 vboxvideo_drv_18_INCS = \ … … 283 289 vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD 284 290 vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 285 vboxvideo_drv_19_DEFS := $(vboxvideo_ drv_15_DEFS)291 vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100900000 286 292 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 287 293 vboxvideo_drv_19_INCS = \ … … 310 316 vboxvideo_drv_110_TEMPLATE = VBOXGUESTR3XORGMOD 311 317 vboxvideo_drv_110_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 312 vboxvideo_drv_110_DEFS := $(vboxvideo_ drv_15_DEFS)318 vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101000000 313 319 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 314 320 vboxvideo_drv_110_INCS = \ … … 337 343 vboxvideo_drv_111_TEMPLATE = VBOXGUESTR3XORGMOD 338 344 vboxvideo_drv_111_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 339 vboxvideo_drv_111_DEFS := $(vboxvideo_ drv_15_DEFS)345 vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101100000 340 346 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 341 347 vboxvideo_drv_111_INCS = \ … … 364 370 vboxvideo_drv_112_TEMPLATE = VBOXGUESTR3XORGMOD 365 371 vboxvideo_drv_112_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 366 vboxvideo_drv_112_DEFS := $(vboxvideo_ drv_15_DEFS)372 vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101200000 367 373 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 368 374 vboxvideo_drv_112_INCS = \ … … 391 397 vboxvideo_drv_113_TEMPLATE = VBOXGUESTR3XORGMOD 392 398 vboxvideo_drv_113_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 393 vboxvideo_drv_113_DEFS := $(vboxvideo_ drv_15_DEFS)399 vboxvideo_drv_113_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101300000 394 400 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 395 401 vboxvideo_drv_113_INCS = \ -
trunk/src/VBox/Additions/x11/vboxvideo/edid.c
r35776 r43270 45 45 */ 46 46 47 #include <xorg-server.h>48 47 #include <misc.h> 49 48 #include <xf86DDC.h> -
trunk/src/VBox/Additions/x11/vboxvideo/pointer.c
r43081 r43270 31 31 32 32 #include "vboxvideo.h" 33 34 #ifdef XORG_7X 35 # include <stdlib.h> 36 #endif 33 37 34 38 #define VBOX_MAX_CURSOR_WIDTH 64 -
trunk/src/VBox/Additions/x11/vboxvideo/setmode.c
r43245 r43270 54 54 # define _XF86_ANSIC_H 55 55 # define XF86_LIBC_H 56 # include "xorg-server.h"57 56 # include <string.h> 58 57 #endif -
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r43246 r43270 29 29 30 30 #include "vboxvideo.h" 31 32 #ifdef XORG_7X 33 # include <stdio.h> 34 # include <stdlib.h> 35 #endif 31 36 32 37 /************************************************************************** -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r43250 r43270 56 56 57 57 #ifdef XORG_7X 58 # include "xorg-server.h"58 # include <stdlib.h> 59 59 # include <string.h> 60 60 #endif … … 560 560 #endif /* VBOXVIDEO_13 */ 561 561 562 #ifdef XFree86LOADER563 562 /* Module loader interface */ 564 563 static MODULESETUPPROTO(vboxSetup); … … 623 622 } 624 623 625 #endif /* XFree86Loader defined */626 624 627 625 static const OptionInfoRec * -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r43245 r43270 118 118 #include "sarea.h" 119 119 #include "GL/glxint.h" 120 #include "GL/glxtokens.h"121 120 122 121 /* For some reason this is not in the header files. */ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_dri.c
r43108 r43270 52 52 # include "xf86Pci.h" 53 53 #endif 54 #include <dri.h> 55 #include <GL/glx.h> 56 #include <GL/glxint.h> 57 #include <drm.h> 54 58 55 59 static Bool
Note:
See TracChangeset
for help on using the changeset viewer.