Changeset 22592 in vbox
- Timestamp:
- Aug 31, 2009 11:03:56 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/VBoxVideo.h (modified) (1 diff)
-
src/VBox/Additions/WINNT/Graphics/Display/screen.c (modified) (2 diffs)
-
src/VBox/Additions/WINNT/Graphics/Display/vbox.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r22536 r22592 910 910 uint32_t u32Flags; 911 911 uint32_t u32Offset; 912 int32_t i32Result; 912 913 913 914 } VBVAENABLE; -
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.

