- Timestamp:
- Jun 19, 2017 1:41:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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) {
Note:
See TracChangeset
for help on using the changeset viewer.