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
Files:
17 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();
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.cpp

    r33048 r33540  
    139139        else
    140140        {
    141             /* Retry using old inteface. */
     141            /* Retry using old interface. */
    142142            AssertCompile(sizeof(VMMDevVideoModeSupportedRequest2) >= sizeof(VMMDevVideoModeSupportedRequest));
    143143            VMMDevVideoModeSupportedRequest *req = (VMMDevVideoModeSupportedRequest *)req2;
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxHGSMI.h

    r28800 r33540  
    9999typedef struct VBOXVIDEOPORTPROCS
    100100{
    101     /* ored VBOXVIDEOPORTPROCS_xxx constants describing the supported functyionality */
     101    /* ored VBOXVIDEOPORTPROCS_xxx constants describing the supported functionality */
    102102    uint32_t fSupportedTypes;
    103103
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideoHGSMI.cpp

    r33532 r33540  
    863863    if (p->fu32Flags & VBOX_MOUSE_POINTER_SHAPE)
    864864    {
    865         /* If shape is supplied, then alway create the pointer visible.
     865        /* If shape is supplied, then always create the pointer visible.
    866866         * See comments in 'vboxUpdatePointerShape'
    867867         */
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoCm.cpp

    r33530 r33540  
    4545    /* commands list  */
    4646    LIST_ENTRY CommandsList;
    47     /* event used to notify UMD about penging commands */
     47    /* event used to notify UMD about pending commands */
    4848    PKEVENT pUmEvent;
    49     /* synch lock */
     49    /* sync lock */
    5050    FAST_MUTEX Mutex;
    5151    /* indicates whether event signaling is needed on cmd add */
     
    149149
    150150/**
    151  * @param pvCmd memory byffer returned by vboxVideoCmCmdCreate
     151 * @param pvCmd memory buffer returned by vboxVideoCmCmdCreate
    152152 * @param cbSize should be <= cbSize posted to vboxVideoCmCmdCreate on command creation
    153153 */
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVhwa.cpp

    r33252 r33540  
    731731
    732732    int rc = VINF_SUCCESS;
    733     /* @todo: need a better synch */
     733    /* @todo: need a better sync */
    734734    uint32_t cNew = ASMAtomicIncU32(&pSource->Vhwa.cOverlaysCreated);
    735735    if (cNew == 1)
     
    774774    Assert(!!(pSource->Vhwa.Settings.fFlags & VBOXVHWA_F_ENABLED));
    775775
    776     /* @todo: need a better synch */
     776    /* @todo: need a better sync */
    777777    uint32_t cNew = ASMAtomicDecU32(&pSource->Vhwa.cOverlaysCreated);
    778778    int rc = VINF_SUCCESS;
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVidPn.cpp

    r33252 r33540  
    832832            if (vboxVidPnMatchVideoSignal(&dummyMode.VideoSignalInfo, &pMonitorSMI->VideoSignalInfo))
    833833            {
    834                 /* mark it as unneened */
     834                /* mark it as unneeded */
    835835                pData->pResolutions[i].cx = 0;
    836836                break;
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r33531 r33540  
    12391239            pCaps->SchedulingCaps.MultiEngineAware = 1;
    12401240            pCaps->MemoryManagementCaps.Value = 0;
    1241             /* @todo: this corelates with pCaps->SchedulingCaps.MultiEngineAware */
     1241            /* @todo: this correlates with pCaps->SchedulingCaps.MultiEngineAware */
    12421242            pCaps->MemoryManagementCaps.PagingNode = 0;
    1243             /* @todo: this corelates with pCaps->SchedulingCaps.MultiEngineAware */
     1243            /* @todo: this correlates with pCaps->SchedulingCaps.MultiEngineAware */
    12441244            pCaps->GpuEngineTopology.NbAsymetricProcessingNodes = 1;
    12451245
     
    36363636                    pModeInfos, cModeInfos, &cModeInfos2, &iPreferredModeInfo);
    36373637            Assert(Status == STATUS_SUCCESS);
    3638             Assert(iPreferredModeInfo >= 0); /* the array should contain the preffered info */
     3638            Assert(iPreferredModeInfo >= 0); /* the array should contain the preferred info */
    36393639            if (Status != STATUS_SUCCESS)
    36403640                drprintf((__FUNCTION__": second call to VBoxWddmGetModesForResolution failed Status(0x%x), cModeInfos(%d), cModeInfos2(%d)\n", Status, cModeInfos, cModeInfos2));
     
    40484048            }
    40494049
    4050             /* error has occured, release & break */
     4050            /* error has occurred, release & break */
    40514051            pRecommendMonitorModesArg->pMonitorSourceModeSetInterface->pfnReleaseModeInfo(
    40524052                    pRecommendMonitorModesArg->hMonitorSourceModeSet, pNewMonitorSourceModeInfo);
     
    42694269                             * need to return it back to the UMD (User Mode Drive) */
    42704270                            pAllocInfo->SurfDesc = pAllocation->SurfDesc;
    4271                             /* success, just contionue */
     4271                            /* success, just continue */
    42724272                            continue;
    42734273                        }
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