Changeset 35125 in vbox
- Timestamp:
- Dec 15, 2010 12:06:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r35102 r35125 125 125 VBOXPtr pVBox = pScrn->driverPrivate; 126 126 127 TRACE_ENTRY();128 127 /* We may want to force the use of a software cursor. Currently this is 129 128 * needed if the guest uses a large virtual resolution, as in this case … … 160 159 rc = FALSE; 161 160 } 162 TRACE_LOG("rc=%s\n", BOOL_STR(rc));163 161 return rc; 164 162 } … … 274 272 pvGuestHeapMemory = ((uint8_t *)pVBox->base) + offVRAMBaseMapping 275 273 + offGuestHeapMemory; 274 TRACE_LOG("video RAM: %u KB, guest heap offset: 0x%x, cbGuestHeapMemory: %u\n", 275 pScrn->videoRam, offVRAMBaseMapping + offGuestHeapMemory, 276 cbGuestHeapMemory); 276 277 rc = VBoxHGSMISetupGuestContext(&pVBox->guestCtx, pvGuestHeapMemory, 277 278 cbGuestHeapMemory, … … 290 291 pVBox->cbFramebuffer -= VBVA_MIN_BUFFER_SIZE; 291 292 pVBox->aoffVBVABuffer[i] = pVBox->cbFramebuffer; 293 TRACE_LOG("VBVA buffer offset for screen %u: 0x%lx\n", i, 294 (unsigned long) pVBox->cbFramebuffer); 292 295 VBoxVBVASetupBufferContext(&pVBox->aVbvaCtx[i], 293 296 pVBox->aoffVBVABuffer[i], 294 297 VBVA_MIN_BUFFER_SIZE); 295 298 } 299 TRACE_LOG("Maximum framebuffer size: %lu (0x%lx)\n", 300 (unsigned long) pVBox->cbFramebuffer, 301 (unsigned long) pVBox->cbFramebuffer); 296 302 rc = VBoxHGSMISendViewInfo(&pVBox->guestCtx, pVBox->cScreens, 297 303 vboxFillViewInfo, (void *)pVBox); 298 304 299 /* Set up the dirty rectangle handler. Since this seems to be a 300 delicate operation, and removing it doubly so, this will 301 remain in place whether it is needed or not, and will simply 302 return if VBVA is not active. I assume that it will be active 303 most of the time. */ 305 /* Set up the dirty rectangle handler. It will be added into a function 306 * chain and gets removed when the screen is cleaned up. */ 304 307 if (ShadowFBInit2(pScreen, NULL, vboxHandleDirtyRect) != TRUE) 305 308 { … … 610 613 vboxWriteHostModes(pScrn, pScrn->currentMode); 611 614 #endif 612 TRACE_LOG("rc=%s\n", BOOL_STR(rc));613 615 return rc; 614 616 } … … 632 634 int rc; 633 635 634 TRACE_ENTRY();635 636 pVBox = pScrn->driverPrivate; 636 637 bitsp = pCurs->bits; … … 694 695 rc = VBoxHGSMIUpdatePointerShape(&pVBox->guestCtx, fFlags, bitsp->xhot, 695 696 bitsp->yhot, w, h, p, sizeData); 696 TRACE_LOG(": leaving, returning %d\n", rc);697 697 free(p); 698 698 }
Note:
See TracChangeset
for help on using the changeset viewer.