Changeset 32127 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
- Timestamp:
- Aug 31, 2010 11:16:00 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r32107 r32127 4231 4231 { 4232 4232 VBOXWDDMDISP_NSCADD NscAdd; 4233 BOOL bReinitRenderData = TRUE; 4233 4234 4234 4235 do 4235 4236 { 4236 NscAdd.pvCommandBuffer = pDevice->DefaultContext.ContextInfo.pCommandBuffer; 4237 NscAdd.cbCommandBuffer = pDevice->DefaultContext.ContextInfo.CommandBufferSize; 4238 NscAdd.pAllocationList = pDevice->DefaultContext.ContextInfo.pAllocationList; 4239 NscAdd.cAllocationList = pDevice->DefaultContext.ContextInfo.AllocationListSize; 4240 NscAdd.pPatchLocationList = pDevice->DefaultContext.ContextInfo.pPatchLocationList; 4241 NscAdd.cPatchLocationList = pDevice->DefaultContext.ContextInfo.PatchLocationListSize; 4242 NscAdd.cAllocations = 0; 4237 if (bReinitRenderData) 4238 { 4239 NscAdd.pvCommandBuffer = pDevice->DefaultContext.ContextInfo.pCommandBuffer; 4240 NscAdd.cbCommandBuffer = pDevice->DefaultContext.ContextInfo.CommandBufferSize; 4241 NscAdd.pAllocationList = pDevice->DefaultContext.ContextInfo.pAllocationList; 4242 NscAdd.cAllocationList = pDevice->DefaultContext.ContextInfo.AllocationListSize; 4243 NscAdd.pPatchLocationList = pDevice->DefaultContext.ContextInfo.pPatchLocationList; 4244 NscAdd.cPatchLocationList = pDevice->DefaultContext.ContextInfo.PatchLocationListSize; 4245 NscAdd.cAllocations = 0; 4246 bReinitRenderData = FALSE; 4247 } 4243 4248 4244 4249 EnterCriticalSection(&pDevice->DirtyAllocListLock); … … 4290 4295 pDevice->DefaultContext.ContextInfo.PatchLocationListSize = RenderData.NewPatchLocationListSize; 4291 4296 pDevice->DefaultContext.ContextInfo.pPatchLocationList = RenderData.pNewPatchLocationList; 4297 bReinitRenderData = TRUE; 4292 4298 } 4293 4299 else
Note:
See TracChangeset
for help on using the changeset viewer.