Changeset 22592 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Aug 31, 2009 11:03:56 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/screen.c
r22548 r22592 33 33 #ifdef VBOX_WITH_HGSMI 34 34 #include <iprt/asm.h> 35 #include <VBox/log.h> 35 36 #include <VBox/HGSMI/HGSMI.h> 36 37 #include <VBox/HGSMI/HGSMIChSetup.h> … … 512 513 { 513 514 /* Enable VBVA for this video mode. */ 514 vboxVbvaEnable (ppdev); 515 ppdev->bHGSMISupported = vboxVbvaEnable (ppdev); 516 LogRel(("VBoxDisp[%d]: VBVA %senabled\n", ppdev->iDevice, ppdev->bHGSMISupported? "": "not ")); 515 517 } 516 518 #endif /* VBOX_WITH_HGSMI */ -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c
r22548 r22592 370 370 pEnable->u32Flags = bEnable? VBVA_F_ENABLE: VBVA_F_DISABLE; 371 371 pEnable->u32Offset = ppdev->layout.offVBVABuffer; 372 pEnable->i32Result = VERR_NOT_SUPPORTED; 372 373 373 374 vboxHGSMIBufferSubmit (ppdev, p); 374 375 376 if (bEnable) 377 { 378 bRc = RT_SUCCESS(pEnable->i32Result); 379 } 380 else 381 { 382 bRc = TRUE; 383 } 384 375 385 HGSMIHeapFree (&ppdev->hgsmiDisplayHeap, p); 376 377 bRc = TRUE;378 386 } 379 387 }
Note:
See TracChangeset
for help on using the changeset viewer.