Changeset 76376 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Dec 22, 2018 10:32:24 PM (6 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.cpp
r73097 r76376 48 48 *phSynch = NULL; 49 49 50 if (fUhgsmiType. fCommand)50 if (fUhgsmiType.s.fCommand) 51 51 { 52 52 *phSynch = CreateEvent( … … 186 186 PVBOXUHGSMI_BUFFER_PRIVATE_ESC_BASE pBuf = VBOXUHGSMIESCBASE_GET_BUFFER(pBufInfo->pBuf); 187 187 pSubmInfo->hAlloc = pBuf->Alloc.hAlloc; 188 if (pBufInfo->fFlags. bEntireBuffer)188 if (pBufInfo->fFlags.s.fEntireBuffer) 189 189 { 190 190 pSubmInfo->Info.offData = 0; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.h
r73097 r76376 94 94 D3DDDICB_LOCKFLAGS fLockFlags; 95 95 fLockFlags.Value = 0; 96 if (fFlags. bLockEntire)96 if (fFlags.s.fLockEntire) 97 97 { 98 98 Assert(!offLock); … … 126 126 } 127 127 128 fLockFlags.ReadOnly = fFlags.bReadOnly;129 fLockFlags.WriteOnly = fFlags. bWriteOnly;130 fLockFlags.DonotWait = fFlags. bDonotWait;131 // fLockFlags.Discard = fFlags. bDiscard;128 fLockFlags.ReadOnly = fFlags.s.fReadOnly; 129 fLockFlags.WriteOnly = fFlags.s.fWriteOnly; 130 fLockFlags.DonotWait = fFlags.s.fDonotWait; 131 // fLockFlags.Discard = fFlags.s.fDiscard; 132 132 *pfFlags = fLockFlags; 133 133 return VINF_SUCCESS; … … 173 173 pAllocationList->hAllocation = pBuffer->hAllocation; 174 174 pAllocationList->Value = 0; 175 pAllocationList->WriteOperation = !pBufInfo->fFlags. bHostReadOnly;176 pAllocationList->DoNotRetireInstance = pBufInfo->fFlags. bDoNotRetire;177 if (pBufInfo->fFlags. bEntireBuffer)175 pAllocationList->WriteOperation = !pBufInfo->fFlags.s.fHostReadOnly; 176 pAllocationList->DoNotRetireInstance = pBufInfo->fFlags.s.fDoNotRetire; 177 if (pBufInfo->fFlags.s.fEntireBuffer) 178 178 { 179 179 pBufSubmInfo->offData = 0; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiKmt.cpp
r75445 r76376 54 54 } 55 55 56 DECLCALLBACK(int) vboxUhgsmiKmtBufferLock(PVBOXUHGSMI_BUFFER pBuf, uint32_t offLock, uint32_t cbLock, VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags, void**pvLock) 56 DECLCALLBACK(int) vboxUhgsmiKmtBufferLock(PVBOXUHGSMI_BUFFER pBuf, uint32_t offLock, uint32_t cbLock, 57 VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags, void**pvLock) 57 58 { 58 59 PVBOXUHGSMI_BUFFER_PRIVATE_DX_ALLOC_BASE pBuffer = VBOXUHGSMDXALLOCBASE_GET_BUFFER(pBuf);
Note:
See TracChangeset
for help on using the changeset viewer.