儲存庫 vbox 的更動 4676
- 時間撮記:
- 2007-9-10 下午03:56:18 (17 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r4514 r4676 1893 1893 /* Check if the Guest Video RAM enough for the seamless mode */ 1894 1894 QRect screen = QApplication::desktop()->screenGeometry (this); 1895 ULONG vRamSize = csession.GetMachine().GetVRAMSize(); 1896 if (aOn && 1897 (ULONG64) vRamSize * _1M * 8 < 1898 (ULONG64) screen.width() * screen.height() * QColor::numBitPlanes()) 1895 ULONG64 availBits = (csession.GetMachine().GetVRAMSize() /* vram */ 1896 * _1M /* mb to bytes */ 1897 - 4096 /* adapter info */ 1898 - _1M /* current cache - may be changed in future */) 1899 / csession.GetMachine().GetMonitorCount() 1900 * 8; /* to bits */ 1901 ULONG64 usedBits = screen.width() /* display width */ 1902 * screen.height() /* display height */ 1903 * QColor::numBitPlanes(); /* bit per pixel */ 1904 1905 if (aOn && (availBits < usedBits)) 1899 1906 { 1900 1907 vboxProblem().cannotEnterSeamlessMode (screen.width(),
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器