Lines Matching defs:RenderData

378         D3DDDICB_RENDER RenderData = {0};
379 RenderData.CommandLength = pDevice->DefaultContext.ContextInfo.CommandBufferSize - NscAdd.cbCommandBuffer;
380 Assert(RenderData.CommandLength);
381 Assert(RenderData.CommandLength < UINT32_MAX/2);
382 RenderData.CommandOffset = 0;
383 RenderData.NumAllocations = pDevice->DefaultContext.ContextInfo.AllocationListSize - NscAdd.cAllocationList;
384 Assert(RenderData.NumAllocations == NscAdd.cAllocations);
385 RenderData.NumPatchLocations = pDevice->DefaultContext.ContextInfo.PatchLocationListSize - NscAdd.cPatchLocationList;
386 Assert(RenderData.NumPatchLocations == NscAdd.cAllocations);
387 // RenderData.NewCommandBufferSize = sizeof (VBOXVDMACMD) + 4 * (100);
388 // RenderData.NewAllocationListSize = 100;
389 // RenderData.NewPatchLocationListSize = 100;
390 RenderData.hContext = pDevice->DefaultContext.ContextInfo.hContext;
392 HRESULT hr = pDevice->RtCallbacks.pfnRenderCb(pDevice->hDevice, &RenderData);
396 pDevice->DefaultContext.ContextInfo.CommandBufferSize = RenderData.NewCommandBufferSize;
397 pDevice->DefaultContext.ContextInfo.pCommandBuffer = RenderData.pNewCommandBuffer;
398 pDevice->DefaultContext.ContextInfo.AllocationListSize = RenderData.NewAllocationListSize;
399 pDevice->DefaultContext.ContextInfo.pAllocationList = RenderData.pNewAllocationList;
400 pDevice->DefaultContext.ContextInfo.PatchLocationListSize = RenderData.NewPatchLocationListSize;
401 pDevice->DefaultContext.ContextInfo.pPatchLocationList = RenderData.pNewPatchLocationList;