Changeset 33540 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67140
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispCm.cpp
r33116 r33540 172 172 173 173 pCmd->EscapeHdr.escapeCode = VBOXESC_GETVBOXVIDEOCMCMD; 174 /* lock to ensure the context is not d istructed */174 /* lock to ensure the context is not destroyed */ 175 175 EnterCriticalSection(&pSession->CritSect); 176 176 /* 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 1037 1037 uint32_t cbFormatOps = cFormats * sizeof (FORMATOP); 1038 1038 cbFormatOps = (cbFormatOps + 7) & ~3; 1039 /* ensure the surf descs are 8 byte al ligned */1039 /* ensure the surf descs are 8 byte aligned */ 1040 1040 uint32_t offSurfDescs = (cbFormatOps + 7) & ~3; 1041 1041 uint32_t cbSurfDescs = cSurfDescs * sizeof (DDSURFACEDESC); … … 1453 1453 case D3DDDIPOOL_LOCALVIDMEM: 1454 1454 case D3DDDIPOOL_NONLOCALVIDMEM: 1455 /* @todo: what would be prop per here? */1455 /* @todo: what would be proper here? */ 1456 1456 return D3DPOOL_DEFAULT; 1457 1457 default: … … 3803 3803 { 3804 3804 hr = pDevice9If->DrawPrimitive(pData->PrimitiveType, 3805 0 /* <- since we use our own eStreamSource buffer which has data at the very beginning*/,3805 0 /* <- since we use our own StreamSource buffer which has data at the very beginning*/, 3806 3806 pData->PrimitiveCount); 3807 3807 Assert(hr == S_OK); … … 7382 7382 else 7383 7383 { 7384 /* this is a "generic" resource whose creation is initia ded by the UMD */7384 /* this is a "generic" resource whose creation is initiated by the UMD */ 7385 7385 Assert(pData->PrivateDriverDataSize == sizeof (VBOXWDDM_RCINFO)); 7386 7386 if (pData->PrivateDriverDataSize == sizeof (VBOXWDDM_RCINFO)) -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3DIf.cpp
r32281 r33540 101 101 102 102 Assert(bResult != -1); 103 if(bResult == -1) /* error occur ed */103 if(bResult == -1) /* error occurred */ 104 104 break; 105 105 -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxScreen.cpp
r33116 r33540 450 450 } 451 451 452 if(bResult == -1) /* error occur ed */452 if(bResult == -1) /* error occurred */ 453 453 { 454 454 DWORD winEr = GetLastError();
Note:
See TracChangeset
for help on using the changeset viewer.