VirtualBox

Changeset 8517 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Apr 30, 2008 6:47:46 PM (17 years ago)
Author:
vboxsync
Message:

backing out r30216

File:
1 edited

Legend:

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

    r8397 r8517  
    749749    /* Set a sane minimum mode size and the maximum allowed by the available VRAM */
    750750    {
    751 #if 0
    752751        unsigned maxSize, trySize = 512;
    753752
     
    756755            trySize += 128;
    757756        } while (trySize * trySize * pScrn->bitsPerPixel / 8 < pScrn->videoRam * 1024);
    758 #else
    759         unsigned maxSize = 32000;
    760 #endif
    761757
    762758        xf86CrtcSetSizeRange(pScrn, 64, 64, maxSize, maxSize);
    763759
    764 #if 0
    765760        /* I don't know exactly what these are for (and they are only used in a couple
    766761           of places in the X server code), but due to a bug in RandR 1.2 they place
     
    771766        xf86DrvMsg(pScrn->scrnIndex, X_INFO,
    772767                   "The maximum supported resolution is currently %dx%d\n", maxSize, maxSize);
    773 #endif
    774768    }
    775769
     
    939933                      "The VBox video extensions are now enabled.\n");
    940934        vboxEnableGraphicsCap(pVBox);
    941 #if 0
    942935        /* Report the largest resolution that we support */
    943         vboxReportMaxGuestResolution(pScrn->display->virtualX,
    944                                      pScrn->display->virtualY);
    945 #endif
     936//        vboxReportMaxGuestResolution(pScrn->display->virtualX,
     937//                                     pScrn->display->virtualY);
    946938    }
    947939    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