VirtualBox

Changeset 63772 in vbox for trunk


Ignore:
Timestamp:
Sep 8, 2016 8:28:08 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: do not disable VBVA on mode changes, as this caused all our reported capability flags to be lost, and the host to think we did not support dynamic resizing. We already disable VBVA when the master is changed and that is enough. The motivation for disabling VBVA was that we did not enable it until we saw that the user-space master was willing to send us dirty rectangle information.

Location:
trunk/src/VBox/Additions/linux/drm
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.c

    r63755 r63772  
    260260     * to do VESA. */
    261261    /** @todo work out if anyone is likely to and whether it will even work. */
     262    /* Update: we also disable it because if the new master does not do dirty
     263     * rectangle reporting (e.g. old versions of Plymouth) then at least the
     264     * first screen will still be updated.  We enable it as soon as we
     265     * receive a dirty rectangle report. */
    262266    vbox_disable_accel(vbox);
    263267    mutex_unlock(&vbox->hw_mutex);
  • trunk/src/VBox/Additions/linux/drm/vbox_mode.c

    r63771 r63772  
    259259    vbox_crtc_mode_set_base(crtc, x, y, old_fb);
    260260    mutex_lock(&vbox->hw_mutex);
    261     /* Disable VBVA when someone sets a new mode until they send us dirty
    262      * rectangles, which proves that they can.  A single screen can work
    263      * without VBVA. */
    264     vbox_disable_accel(vbox);
    265261    rc = vbox_set_view(crtc);
    266262    if (!rc)
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