Changeset 55236 in vbox for trunk/src/VBox
- Timestamp:
- Apr 14, 2015 10:02:04 AM (10 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r55226 r55236 863 863 * took the first valid values set to these two as maxima over the 864 864 * server lifetime. */ 865 pScrn->virtualX = 32000;866 pScrn->virtualY = 32000;865 pScrn->virtualX = VBOX_VIDEO_MAX_VIRTUAL; 866 pScrn->virtualY = VBOX_VIDEO_MAX_VIRTUAL; 867 867 #else 868 868 /* We don't validate with xf86ValidateModes and xf86PruneModes as we … … 1089 1089 /* Set a sane minimum and maximum mode size to match what the hardware 1090 1090 * supports. */ 1091 xf86CrtcSetSizeRange(pScrn, 64, 64, 16384, 16384);1091 xf86CrtcSetSizeRange(pScrn, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL, VBOX_VIDEO_MAX_VIRTUAL); 1092 1092 1093 1093 /* Now create our initial CRTC/output configuration. */ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r55225 r55236 129 129 #define VBOX_DRI_DRIVER_NAME "vboxvideo" /* For starters. */ 130 130 #define VBOX_MAX_DRAWABLES 256 /* At random. */ 131 132 #define VBOX_VIDEO_MIN_SIZE 64 133 #define VBOX_VIDEO_MAX_VIRTUAL (INT16_MAX - 1) 131 134 132 135 #define VBOXPTR(p) ((VBOXPtr)((p)->driverPrivate))
Note:
See TracChangeset
for help on using the changeset viewer.