VirtualBox

Changeset 15877 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 8, 2009 5:46:05 PM (16 years ago)
Author:
vboxsync
Message:

A parameter for vga_update_display for full update (xTracker #3356).

File:
1 edited

Legend:

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

    r15876 r15877  
    24362436    VGAState *s = vga_state;
    24372437#else /* VBOX */
    2438 static int vga_update_display(PVGASTATE s)
     2438static int vga_update_display(PVGASTATE s, bool fUpdateAll)
    24392439{
    24402440    int rc = VINF_SUCCESS;
     
    24702470
    24712471#ifdef VBOX
    2472         if (s->graphic_mode == -1) {
     2472        if (fUpdateAll) {
    24732473            /* A full update is requested. Special processing for a "blank" mode is required. */
    24742474            typedef DECLCALLBACK(void) FNUPDATERECT(PPDMIDISPLAYCONNECTOR pInterface, uint32_t x, uint32_t y, uint32_t cx, uint32_t cy);
     
    45654565    /* This should be called only in non VBVA mode. */
    45664566
    4567     int rc = vga_update_display(pThis);
     4567    int rc = vga_update_display(pThis, false);
    45684568    if (rc != VINF_SUCCESS)
    45694569        return rc;
     
    46044604    pThis->graphic_mode = -1; /* force full update */
    46054605
    4606     int rc = vga_update_display(pThis);
     4606    int rc = vga_update_display(pThis, true);
    46074607
    46084608    /* The dirty bits array has been just cleared, reset handlers as well. */
     
    47214721
    47224722    /* make the snapshot. */
    4723     int rc = vga_update_display(pThis);
     4723    int rc = vga_update_display(pThis, false);
    47244724
    47254725    /* restore */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette