VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Display
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/color.c

    r28800 r33540  
    4646* 8x8 pile of bits in the form of a 1BPP bitmap.  It can also take an
    4747* RGB value and make an 8x8 bitmap.  These can then be used as brushes
    48 * to simulate color unavaible on the device.
     48* to simulate color unavailable on the device.
    4949*
    5050* For monochrome the basic algorithm is equivalent to turning on bits
     
    6060*  63 31 55 23 61 29 53 21
    6161*
    62 * Reference: A Survey of Techniques for the Display of Continous
     62* Reference: A Survey of Techniques for the Display of Continuous
    6363*            Tone Pictures on Bilevel Displays,;
    6464*            Jarvis, Judice, & Ninke;
     
    584584
    585585        // I = .30R + .59G + .11B
    586         // For convience the following ratios are used:
     586        // For convenience the following ratios are used:
    587587        //
    588588        //  77/256 = 30.08%
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h

    r33048 r33540  
    256256typedef struct _VRDPCLIPRECTS
    257257{
    258     RECTL rclDstOrig; /* Original bounding rectancle. */
     258    RECTL rclDstOrig; /* Original bounding rectangle. */
    259259    RECTL rclDst;     /* Bounding rectangle of all rects. */
    260260    CLIPRECTS rects;  /* Rectangles to update. */
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/drv.c

    r33048 r33540  
    3535 *
    3636 * 1) RDP orders: BitBlt, RectFill, Text.
    37  *        These are the simpliest ones.
     37 *        These are the simplest ones.
    3838 *
    3939 * 2) Caching: Bitmap, glyph, brush.
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/enable.c

    r33048 r33540  
    632632
    633633    //
    634     // On NT4.0 we create a GDI managed bitmap as the primay surface. But
     634    // On NT4.0 we create a GDI managed bitmap as the primary surface. But
    635635    // on NT5.0 we create a device managed primary.
    636636    //
    637     // On NT4.0 we still use our driver's accleration capabilities by
     637    // On NT4.0 we still use our driver's acceleration capabilities by
    638638    // doing a trick with EngLockSurface on the GDI managed primary.
    639639    //
     
    687687        //
    688688        // Jam in the value of dhsurf into screen SURFOBJ. We do this to
    689         // make sure the driver acclerates Drv calls we hook and not
     689        // make sure the driver accelerates Drv calls we hook and not
    690690        // punt them back to GDI as the SURFOBJ's dhsurf = 0.
    691691        //
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/screen.c

    r33048 r33540  
    617617    //
    618618    // try to get it from the miniport.
    619     // if the miniport doesn ot support this feature, use defaults.
     619    // if the miniport doesn't support this feature, use defaults.
    620620    //
    621621
     
    765765*
    766766* Calls the miniport to get the list of modes supported by the kernel driver,
    767 * and returns the list of modes supported by the diplay driver among those
     767* and returns the list of modes supported by the display driver among those
    768768*
    769769* returns the number of entries in the videomode buffer.
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/vrdp.c

    r33004 r33540  
    576576    }
    577577
    578     /* No intesection. */
     578    /* No intersection. */
    579579    return FALSE;
    580580}
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispCm.cpp

    r33116 r33540  
    172172
    173173    pCmd->EscapeHdr.escapeCode = VBOXESC_GETVBOXVIDEOCMCMD;
    174     /* lock to ensure the context is not distructed */
     174    /* lock to ensure the context is not destroyed */
    175175    EnterCriticalSection(&pSession->CritSect);
    176176    /* use any context for identifying the kernel CmSession. We're using the first one */
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp

    r33418 r33540  
    10371037        uint32_t cbFormatOps = cFormats * sizeof (FORMATOP);
    10381038        cbFormatOps = (cbFormatOps + 7) & ~3;
    1039         /* ensure the surf descs are 8 byte alligned */
     1039        /* ensure the surf descs are 8 byte aligned */
    10401040        uint32_t offSurfDescs = (cbFormatOps + 7) & ~3;
    10411041        uint32_t cbSurfDescs = cSurfDescs * sizeof (DDSURFACEDESC);
     
    14531453    case D3DDDIPOOL_LOCALVIDMEM:
    14541454    case D3DDDIPOOL_NONLOCALVIDMEM:
    1455         /* @todo: what would be propper here? */
     1455        /* @todo: what would be proper here? */
    14561456        return D3DPOOL_DEFAULT;
    14571457    default:
     
    38033803            {
    38043804                hr = pDevice9If->DrawPrimitive(pData->PrimitiveType,
    3805                         0 /* <- since we use our owne StreamSource buffer which has data at the very beginning*/,
     3805                        0 /* <- since we use our own StreamSource buffer which has data at the very beginning*/,
    38063806                        pData->PrimitiveCount);
    38073807                Assert(hr == S_OK);
     
    73827382        else
    73837383        {
    7384             /* this is a "generic" resource whose creation is initiaded by the UMD */
     7384            /* this is a "generic" resource whose creation is initiated by the UMD */
    73857385            Assert(pData->PrivateDriverDataSize == sizeof (VBOXWDDM_RCINFO));
    73867386            if (pData->PrivateDriverDataSize == sizeof (VBOXWDDM_RCINFO))
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3DIf.cpp

    r32281 r33540  
    101101
    102102        Assert(bResult != -1);
    103         if(bResult == -1) /* error occured */
     103        if(bResult == -1) /* error occurred */
    104104            break;
    105105
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxScreen.cpp

    r33116 r33540  
    450450        }
    451451
    452         if(bResult == -1) /* error occured */
     452        if(bResult == -1) /* error occurred */
    453453        {
    454454            DWORD winEr = GetLastError();
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