Changeset 51770 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows/src/VBox (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVdma.cpp
r51330 r51770 1263 1263 NTSTATUS vboxVdmaTexPresentSetAlloc(PVBOXMP_DEVEXT pDevExt, const VBOXWDDM_ALLOC_DATA *pAllocData) 1264 1264 { 1265 VBOXMP_CRPACKER CrPacker;1266 VBoxMpCrPackerInit(&CrPacker);1267 1265 uint32_t u32CrConClientID; 1268 1269 1266 NTSTATUS Status = vboxVdmaCrCtlGetDefaultClientId(pDevExt, &u32CrConClientID); 1270 1267 if (!NT_SUCCESS(Status)) … … 1273 1270 return Status; 1274 1271 } 1272 1273 VBOXMP_CRPACKER *pCrPacker = (VBOXMP_CRPACKER *)RTMemTmpAlloc(sizeof(*pCrPacker)); 1274 if (!pCrPacker) 1275 return STATUS_NO_MEMORY; 1276 VBoxMpCrPackerInit(pCrPacker); 1275 1277 1276 1278 RECT Rect; … … 1281 1283 1282 1284 if (pDevExt->fCmdVbvaEnabled) 1283 return vboxVdmaTexPresentSubmit(pDevExt, &CrPacker, u32CrConClientID, pAllocData->hostID, pAllocData->SurfDesc.VidPnSourceId, 0, 0, 1, (RTRECT*)&Rect); 1284 1285 if (pDevExt->fTexPresentEnabled) 1285 Status = vboxVdmaTexPresentSubmit(pDevExt, pCrPacker, u32CrConClientID, pAllocData->hostID, pAllocData->SurfDesc.VidPnSourceId, 0, 0, 1, (RTRECT*)&Rect); 1286 else if (pDevExt->fTexPresentEnabled) 1286 1287 { 1287 1288 VBOXVDMAPIPE_RECTS RectInfo; … … 1290 1291 RectInfo.UpdateRects.aRects[0] = Rect; 1291 1292 1292 return vboxVdmaProcessVRegTexPresent(pDevExt, &CrPacker, u32CrConClientID,1293 Status = vboxVdmaProcessVRegTexPresent(pDevExt, pCrPacker, u32CrConClientID, 1293 1294 pAllocData, pAllocData, 1294 1295 &Rect, &RectInfo); 1295 1296 } 1296 1297 return STATUS_NOT_IMPLEMENTED; 1297 else 1298 Status = STATUS_NOT_IMPLEMENTED; 1299 1300 RTMemTmpFree(pCrPacker); 1301 return Status; 1298 1302 } 1299 1303
Note:
See TracChangeset
for help on using the changeset viewer.