Changeset 56211 in vbox for trunk/src/VBox/Additions/x11/vboxvideo
- Timestamp:
- Jun 3, 2015 8:48:19 AM (10 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/getmode.c
r55393 r56211 152 152 { 153 153 VBOXPtr pVBox = VBOXGetRec(pScrn); 154 DisplayModePtr pMode;155 154 unsigned i; 156 155 … … 204 203 size_t cPropertyElements, cDummy; 205 204 int32_t *paModeHints, *pfCursorCapabilities; 206 int rc;207 205 unsigned i; 208 206 bool fChanged; -
trunk/src/VBox/Additions/x11/vboxvideo/helpers.c
r55393 r56211 80 80 { 81 81 Atom property_name; 82 int i;83 82 84 83 property_name = MakeAtom(pszName, strlen(pszName), TRUE); -
trunk/src/VBox/Additions/x11/vboxvideo/pointer.c
r55401 r56211 229 229 size_t sizeRequest, sizeRgba, sizeMask, srcPitch, dstPitch; 230 230 CARD32 fc, bc, *cp; 231 int rc,scrnIndex = infoPtr->pScrn->scrnIndex;231 int scrnIndex = infoPtr->pScrn->scrnIndex; 232 232 struct vboxCursorImage *pImage; 233 233 … … 360 360 { 361 361 VBOXPtr pVBox; 362 VMMDevReqMousePointer *reqp;363 362 CursorBitsPtr bitsp; 364 363 unsigned short w, h; … … 371 370 uint32_t fFlags = VBOX_MOUSE_POINTER_VISIBLE | VBOX_MOUSE_POINTER_SHAPE 372 371 | VBOX_MOUSE_POINTER_ALPHA; 373 int rc;374 372 375 373 pVBox = pScrn->driverPrivate; -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r55968 r56211 264 264 int cbLine = adjustedWidth * pScrn->bitsPerPixel / 8; 265 265 PixmapPtr pPixmap; 266 int rc;267 266 268 267 TRACE_LOG("width=%d, height=%d\n", width, height); … … 559 558 vbox_output_get_modes (xf86OutputPtr output) 560 559 { 561 unsigned i,cIndex = 0;560 unsigned cIndex = 0; 562 561 DisplayModePtr pModes = NULL, pMode; 563 562 ScrnInfoPtr pScrn = output->scrn; … … 565 564 566 565 TRACE_ENTRY(); 567 uint32_t x, y, iScreen; 568 iScreen = (uintptr_t)output->driver_private; 566 uint32_t iScreen = (uintptr_t)output->driver_private; 569 567 pMode = vbox_output_add_mode(pVBox, &pModes, NULL, 570 568 RT_CLAMP(pVBox->pScreens[iScreen].aPreferredSize.cx, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL), … … 824 822 Gamma gzeros = {0.0, 0.0, 0.0}; 825 823 rgb rzeros = {0, 0, 0}; 826 unsigned DispiId;827 824 828 825 TRACE_ENTRY(); … … 1202 1199 VBOXPtr pVBox = VBOXGetRec(pScrn); 1203 1200 VisualPtr visual; 1204 unsigned flags;1205 1201 1206 1202 TRACE_ENTRY(); … … 1500 1496 static Bool VBOXSwitchMode(ScrnInfoPtr pScrn, DisplayModePtr pMode) 1501 1497 { 1502 VBOXPtr pVBox;1503 1498 Bool rc = TRUE; 1504 1499 -
trunk/src/VBox/Additions/x11/vboxvideo/vbva.c
r55401 r56211 240 240 vboxDisableVbva(ScrnInfoPtr pScrn) 241 241 { 242 int rc;243 242 unsigned i; 244 243 VBOXPtr pVBox = pScrn->driverPrivate;
Note:
See TracChangeset
for help on using the changeset viewer.