儲存庫 vbox 的更動 67476
- 時間撮記:
- 2017-6-19 下午01:41:19 (7 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r67474 r67476 2312 2312 uint32_t offPage0 = offSrcLine & ~PAGE_OFFSET_MASK; 2313 2313 uint32_t offPage1 = (offSrcLine + cbScanline - 1) & ~PAGE_OFFSET_MASK; 2314 /** @todo r=klaus this assumes that a line is fully covered by 2pages,2314 /** @todo r=klaus this assumes that a line is fully covered by 3 pages, 2315 2315 * irrespective of alignment. Not guaranteed for high res modes, i.e. 2316 * anything wider than 1026 pixels @32bpp. Need to check thepages2317 * between the first and last one , too. */2316 * anything wider than 2050 pixels @32bpp. Need to check all pages 2317 * between the first and last one. */ 2318 2318 bool fUpdate = fFullUpdate | vga_is_dirty(pThis, offPage0) | vga_is_dirty(pThis, offPage1); 2319 2319 if (offPage1 - offPage0 > PAGE_SIZE) … … 2505 2505 page0 = addr & ~PAGE_OFFSET_MASK; 2506 2506 page1 = (addr + bwidth - 1) & ~PAGE_OFFSET_MASK; 2507 /** @todo r=klaus this assumes that a line is fully covered by 2pages,2507 /** @todo r=klaus this assumes that a line is fully covered by 3 pages, 2508 2508 * irrespective of alignment. Not guaranteed for high res modes, i.e. 2509 * anything wider than 1026 pixels @32bpp. Need to check thepages2510 * between the first and last one , too. */2509 * anything wider than 2050 pixels @32bpp. Need to check all pages 2510 * between the first and last one. */ 2511 2511 bool update = full_update | vga_is_dirty(pThis, page0) | vga_is_dirty(pThis, page1); 2512 2512 if (page1 - page0 > PAGE_SIZE) {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器