Changeset 2791 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 23, 2007 9:28:38 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21401
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp
r2491 r2791 824 824 } 825 825 826 void VMDisplay::SetVideoModeHint(ULONG aWidth, ULONG aHeight, ULONG aColorDepth) 827 { 828 PPDMIVMMDEVPORT pVMMDevPort = gVMMDev->getVMMDevPort (); 829 830 if (pVMMDevPort) 831 pVMMDevPort->pfnRequestDisplayChange(pVMMDevPort, aWidth, aHeight, aColorDepth); 832 } 826 833 827 834 static bool vbvaPartialRead (uint8_t **ppu8, uint32_t *pcb, uint32_t cbRecord, VBVAMEMORY *pVbvaMemory) -
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.h
r2111 r2791 47 47 48 48 void updatePointerShape(bool fVisible, bool fAlpha, uint32_t xHot, uint32_t yHot, uint32_t width, uint32_t height, void *pShape); 49 void SetVideoModeHint(ULONG aWidth, ULONG aHeight, ULONG aColorDepth); 49 50 50 51 static const PDMDRVREG DrvReg; -
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r2667 r2791 698 698 gConsole->updateTitlebar(); 699 699 700 #ifdef __L4__ 701 /* The L4 console provides (currently) a fixed resolution. */ 702 if (vramSize * 1024 * 1024 >= gFramebuffer->getHostXres() 703 * gFramebuffer->getHostYres() 704 * (gDisplay->getColorDepth() / 8)) 705 gDisplay->SetVideoModeHint(gFramebuffer->getHostXres(), gFramebuffer->getHostYres(), 0); 706 #endif 707 700 708 /* 701 709 * Main event loop
Note:
See TracChangeset
for help on using the changeset viewer.