Changeset 19430 in vbox for trunk/src/VBox/Additions
- Timestamp:
- May 6, 2009 1:16:44 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c
r17704 r19430 435 435 BOOL bRc = FALSE; 436 436 437 DISPDBG((1, "VBoxDisp::vboxHwBufferBeginUpdate called flags = 0x%08X\n",438 ppdev->pVBVA? ppdev->pVBVA->u32HostEvents: -1));437 // DISPDBG((1, "VBoxDisp::vboxHwBufferBeginUpdate called flags = 0x%08X\n", 438 // ppdev->pVBVA? ppdev->pVBVA->u32HostEvents: -1)); 439 439 440 440 if ( ppdev->pVBVA … … 469 469 ppdev->pVBVA->indexRecordFree = indexRecordNext; 470 470 471 DISPDBG((1, "VBoxDisp::vboxHwBufferBeginUpdate indexRecordNext = %d\n", indexRecordNext));471 // DISPDBG((1, "VBoxDisp::vboxHwBufferBeginUpdate indexRecordNext = %d\n", indexRecordNext)); 472 472 473 473 /* Remember which record we are using. */ … … 485 485 VBVARECORD *pRecord; 486 486 487 DISPDBG((1, "VBoxDisp::vboxHwBufferEndUpdate called\n"));487 // DISPDBG((1, "VBoxDisp::vboxHwBufferEndUpdate called\n")); 488 488 489 489 VBVA_ASSERT(ppdev->pVBVA); … … 586 586 uint32_t cbChunk = cb; 587 587 588 DISPDBG((1, "VBoxDisp::vboxHwBufferWrite pVBVA->off32Free %d, pRecord->cbRecord 0x%08X, cbHwBufferAvail %d, cb %d, cbWritten %d\n",589 pVBVA->off32Free, pRecord->cbRecord, cbHwBufferAvail, cb, cbWritten));588 // DISPDBG((1, "VBoxDisp::vboxHwBufferWrite pVBVA->off32Free %d, pRecord->cbRecord 0x%08X, cbHwBufferAvail %d, cb %d, cbWritten %d\n", 589 // pVBVA->off32Free, pRecord->cbRecord, cbHwBufferAvail, cb, cbWritten)); 590 590 591 591 if (cbChunk >= cbHwBufferAvail) -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.cpp
r13837 r19430 285 285 } 286 286 287 #ifndef VBOX_WITH_HGSMI 287 288 /** 288 289 * Sends the pointer shape to the VMMDev … … 359 360 return bRC; 360 361 } 362 #endif /* VBOX_WITH_HGSMI */ -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.h
r8155 r19430 39 39 BOOLEAN vboxQueryHostWantsAbsolute(); 40 40 winVersion_t vboxQueryWinVersion(); 41 #ifndef VBOX_WITH_HGSMI 41 42 BOOLEAN vboxUpdatePointerShape(PVIDEO_POINTER_ATTRIBUTES pointerAttr, uint32_t cbLength); 43 #endif /* !VBOX_WITH_HGSMI */ 42 44 43 45 #include "vboxioctl.h" -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r17704 r19430 1207 1207 VBoxSetupDisplays((PDEVICE_EXTENSION)HwDeviceExtension, ConfigInfo, AdapterMemorySize); 1208 1208 #else 1209 /* Initialize VBoxGuest library, which is used for requests which go through VMMDev. */ 1210 rc = VbglInit (); 1211 1209 1212 /* Guest supports only HGSMI, the old VBVA via VMMDev is not supported. Old 1210 1213 * code will be ifdef'ed and later removed. … … 1498 1501 PointerAttributes.Enable = VBOX_MOUSE_POINTER_VISIBLE; 1499 1502 1503 #ifndef VBOX_WITH_HGSMI 1500 1504 Result = vboxUpdatePointerShape(&PointerAttributes, sizeof (PointerAttributes)); 1505 #else 1506 Result = vboxUpdatePointerShape((PDEVICE_EXTENSION)HwDeviceExtension, &PointerAttributes, sizeof (PointerAttributes)); 1507 #endif/* VBOX_WITH_HGSMI */ 1501 1508 1502 1509 if (!Result) … … 1526 1533 PointerAttributes.Enable = 0; 1527 1534 1535 #ifndef VBOX_WITH_HGSMI 1528 1536 Result = vboxUpdatePointerShape(&PointerAttributes, sizeof (PointerAttributes)); 1537 #else 1538 Result = vboxUpdatePointerShape((PDEVICE_EXTENSION)HwDeviceExtension, &PointerAttributes, sizeof (PointerAttributes)); 1539 #endif/* VBOX_WITH_HGSMI */ 1529 1540 1530 1541 if (!Result) … … 1569 1580 dprintf(("\tBytes attached: %d\n", RequestPacket->InputBufferLength - sizeof(VIDEO_POINTER_ATTRIBUTES))); 1570 1581 #endif 1582 #ifndef VBOX_WITH_HGSMI 1571 1583 Result = vboxUpdatePointerShape(pPointerAttributes, RequestPacket->InputBufferLength); 1584 #else 1585 Result = vboxUpdatePointerShape((PDEVICE_EXTENSION)HwDeviceExtension, pPointerAttributes, RequestPacket->InputBufferLength); 1586 #endif/* VBOX_WITH_HGSMI */ 1572 1587 if (!Result) 1573 1588 dprintf(("VBoxVideo::VBoxVideoStartIO: Could not set hardware pointer -> fallback\n")); -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r17665 r19430 242 242 PVIDEO_PORT_CONFIG_INFO pConfigInfo, 243 243 ULONG AdapterMemorySize); 244 BOOLEAN vboxUpdatePointerShape (PDEVICE_EXTENSION PrimaryExtension, 245 PVIDEO_POINTER_ATTRIBUTES pointerAttr, 246 uint32_t cbLength); 244 247 #endif /* VBOX_WITH_HGSMI */ 245 248 } /* extern "C" */
Note:
See TracChangeset
for help on using the changeset viewer.