VirtualBox

Changeset 44055 in vbox


Ignore:
Timestamp:
12/06/2012 05:03:49 PM (10 years ago)
Author:
vboxsync
Message:

DevVGA: Do not draw more lines than necessary.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r43526 r44055  
    18141814    cx_min_upd = width; 
    18151815 
    1816     for(cy = 0; cy < height; cy = cy + (1 << dscan)) { 
     1816    for(cy = 0; cy < (height - dscan); cy = cy + (1 << dscan)) { 
    18171817        d1 = dest; 
    18181818        src = s1; 
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r41636 r44055  
    311311    /** Whether to render the guest VRAM to the framebuffer memory. False only for some LFB modes. */ 
    312312    bool                        fRenderVRAM; 
    313     bool                        Padding1[2]; 
     313    /** Indicates "simple" planar write access to VGA aperture. */ 
     314    bool                        fSimplePlanarWrite; 
     315    /** Current "simple" write plane. */ 
     316    uint8_t                     uPassthruPlane; 
    314317 
    315318    /** The physical address the VRAM was assigned. */ 
     
    326329    STAMCOUNTER                 StatMapPage;            /**< Counts IOMMMIOMapMMIO2Page calls.  */ 
    327330    STAMCOUNTER                 StatUpdateDisp;         /**< Counts vgaPortUpdateDisplay calls.  */ 
     331    STAMCOUNTER                 StatChgDWState; 
     332    STAMCOUNTER                 StatChgDWPlane; 
     333    STAMCOUNTER                 StatRZOptWrite; 
     334    STAMCOUNTER                 StatR3OptWrite; 
    328335 
    329336    /* Keep track of ring 0 latched accesses to the VGA MMIO memory. */ 
Note: See TracChangeset for help on using the changeset viewer.

www.oracle.com
ContactPrivacy policyTerms of Use