VirtualBox

Changeset 8397 in vbox


Ignore:
Timestamp:
Apr 25, 2008 5:38:29 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30216
Message:

Additions/x11: hopefully got rid of the resolution limit in the X11 graphics driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c

    r8366 r8397  
    749749    /* Set a sane minimum mode size and the maximum allowed by the available VRAM */
    750750    {
     751#if 0
    751752        unsigned maxSize, trySize = 512;
    752753
     
    755756            trySize += 128;
    756757        } while (trySize * trySize * pScrn->bitsPerPixel / 8 < pScrn->videoRam * 1024);
     758#else
     759        unsigned maxSize = 32000;
     760#endif
    757761
    758762        xf86CrtcSetSizeRange(pScrn, 64, 64, maxSize, maxSize);
    759763
     764#if 0
    760765        /* I don't know exactly what these are for (and they are only used in a couple
    761766           of places in the X server code), but due to a bug in RandR 1.2 they place
     
    766771        xf86DrvMsg(pScrn->scrnIndex, X_INFO,
    767772                   "The maximum supported resolution is currently %dx%d\n", maxSize, maxSize);
     773#endif
    768774    }
    769775
     
    933939                      "The VBox video extensions are now enabled.\n");
    934940        vboxEnableGraphicsCap(pVBox);
     941#if 0
    935942        /* Report the largest resolution that we support */
    936943        vboxReportMaxGuestResolution(pScrn->display->virtualX,
    937944                                     pScrn->display->virtualY);
     945#endif
    938946    }
    939947    return (TRUE);
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