Changeset 60180 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Mar 24, 2016 11:43:48 AM (9 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r59194 r60180 163 163 $(VBOX_PATH_X11_ROOT)/xorg-server-1.3.0.0 164 164 vboxvideo_drv_13_INCS += $(PATH_ROOT)/src/VBox/Runtime/include 165 vboxvideo_drv_13_SOURCES = $(vboxvideo_drv_SOURCES) 165 vboxvideo_drv_13_SOURCES = $(vboxvideo_drv_SOURCES) edid.c 166 166 167 167 -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r60133 r60180 551 551 unsigned cIndex = 0; 552 552 DisplayModePtr pModes = NULL; 553 DisplayModePtr pPreferred = NULL; 553 554 ScrnInfoPtr pScrn = output->scrn; 554 555 VBOXPtr pVBox = VBOXGetRec(pScrn); … … 556 557 TRACE_ENTRY(); 557 558 uint32_t iScreen = (uintptr_t)output->driver_private; 558 vbox_output_add_mode(pVBox, &pModes, NULL,559 pPreferred = vbox_output_add_mode(pVBox, &pModes, NULL, 559 560 RT_CLAMP(pVBox->pScreens[iScreen].aPreferredSize.cx, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL), 560 561 RT_CLAMP(pVBox->pScreens[iScreen].aPreferredSize.cy, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL), … … 572 573 vbox_output_add_mode(pVBox, &pModes, NULL, 800, 600, FALSE, FALSE); 573 574 vbox_output_add_mode(pVBox, &pModes, NULL, 640, 480, FALSE, FALSE); 575 VBOXEDIDSet(output, pPreferred); 574 576 TRACE_EXIT(); 575 577 return pModes; -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r60133 r60180 252 252 extern void vbvxReadSizesAndCursorIntegrationFromHGSMI(ScrnInfoPtr pScrn, bool *pfNeedUpdate); 253 253 254 /* EDID generation */ 255 #ifdef VBOXVIDEO_13 256 extern Bool VBOXEDIDSet(struct _xf86Output *output, DisplayModePtr pmode); 257 #endif 258 254 259 #endif /* _VBOXVIDEO_H_ */ 255 260
Note:
See TracChangeset
for help on using the changeset viewer.