Searched defs:pSwapchain (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPMisc.cpp185 PVBOXWDDM_SWAPCHAIN pSwapchain = (PVBOXWDDM_SWAPCHAIN)vboxWddmMemAllocZero(sizeof (VBOXWDDM_SWAPCHAIN)); local
186 Assert(pSwapchain);
187 if (pSwapchain)
189 InitializeListHead(&pSwapchain->AllocList);
190 pSwapchain->enmState = VBOXWDDM_OBJSTATE_TYPE_INITIALIZED;
191 pSwapchain->cRefs = 1;
193 pSwapchain->Pos.x = pSwapchain->Pos.y = VBOXWDDM_INVALID_COORD;
194 pSwapchain->width = w;
195 pSwapchain
201 vboxWddmSwapchainRetainLocked(PVBOXWDDM_SWAPCHAIN pSwapchain) argument
211 vboxWddmSwapchainRetain(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SWAPCHAIN pSwapchain) argument
221 vboxWddmSwapchainRelease(PVBOXWDDM_SWAPCHAIN pSwapchain) argument
[all...]
H A DVBoxMPVdma.h191 struct VBOXWDDM_SWAPCHAIN *pSwapchain; member in struct:VBOXVDMAPIPE_CMD_RECTSINFO
300 NTSTATUS vboxVdmaPostHideSwapchain(PVBOXWDDM_SWAPCHAIN pSwapchain);
H A DVBoxMPTypes.h114 struct VBOXWDDM_SWAPCHAIN *pSwapchain; member in struct:VBOXWDDM_ALLOC_DATA
H A DVBoxMPVdma.cpp271 NTSTATUS vboxVdmaPostHideSwapchain(PVBOXWDDM_SWAPCHAIN pSwapchain) argument
276 (PVBOXVIDEOCM_CMD_RECTS_INTERNAL)vboxVideoCmCmdCreate(&pSwapchain->pContext->CmContext, cbCmdInternal);
280 pCmdInternal->hSwapchainUm = pSwapchain->hSwapchainUm;
412 static NTSTATUS vboxVdmaVRegGet(PVBOXWDDM_SWAPCHAIN pSwapchain, const RTRECT *pCtxRect, uint32_t *pcVRects, RTRECT **ppVRectsBuff, uint32_t *pcVRectsBuff) argument
416 uint32_t cVRects = VBoxVrListRectsCount(&pSwapchain->VisibleRegions);
436 int rc = VBoxVrListRectsGet(&pSwapchain->VisibleRegions, cVRects, pVRectsBuff);
458 PVBOXWDDM_SWAPCHAIN pSwapchain,
482 if (pSwapchain)
487 if (CurPos.x != pSwapchain->Pos.x || CurPos.y != pSwapchain
454 vboxVdmaProcessVRegCmdLegacy(PVBOXMP_DEVEXT pDevExt, VBOXMP_CRPACKER *pCrPacker, uint32_t u32CrConClientID, PVBOXWDDM_SOURCE pSource, PVBOXWDDM_SWAPCHAIN pSwapchain, const RECT *pSrcRect, const VBOXVDMAPIPE_RECTS *pContextRects) argument
1299 PVBOXWDDM_SWAPCHAIN pSwapchain = vboxWddmSwapchainRetainByAlloc(pDevExt, pSrcAlloc); local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/
H A DVBoxD3DIf.cpp604 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainFindCreate(pDevice, pAllocation, &bNeedPresent); local
606 if (!pSwapchain)
613 hr = vboxWddmSwapchainChkCreateIf(pDevice, pSwapchain);
619 vboxWddmSwapchainDestroy(pDevice, pSwapchain);
H A DVBoxDispD3D.h283 PVBOXWDDMDISP_SWAPCHAIN pSwapchain; member in struct:VBOXWDDMDISP_ALLOCATION
323 return pAlloc->pSwapchain;
326 DECLINLINE(UINT) vboxWddmSwapchainIdxFb(PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
328 return (pSwapchain->iBB + pSwapchain->cRTs - 1) % pSwapchain->cRTs;
332 DECLINLINE(PVBOXWDDMDISP_RENDERTGT) vboxWddmSwapchainGetBb(PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
334 if (pSwapchain->cRTs)
336 Assert(pSwapchain->iBB < pSwapchain
342 vboxWddmSwapchainGetFb(PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
[all...]
H A DVBoxDispDbg.cpp640 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainForAlloc((VBOXWDDMDISP_ALLOCATION *)pAlloc); local
641 Assert(pSwapchain);
642 bFrontBuf = (vboxWddmSwapchainGetFb(pSwapchain)->pAlloc == pAlloc);
H A DVBoxDispD3D.cpp718 DECLINLINE(VOID) vboxWddmSwapchainInit(PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
720 RTLISTNODE ListEntry = pSwapchain->ListEntry;
721 memset(pSwapchain, 0, sizeof (VBOXWDDMDISP_SWAPCHAIN));
722 pSwapchain->ListEntry = ListEntry;
723 pSwapchain->iBB = VBOXWDDMDISP_INDEX_UNDEFINED;
726 static HRESULT vboxWddmSwapchainKmSynch(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
736 Buf.SwapchainInfo.SwapchainInfo.hSwapchainKm = pSwapchain->hSwapchainKm;
737 Buf.SwapchainInfo.SwapchainInfo.hSwapchainUm = (VBOXDISP_UMHANDLE)pSwapchain;
738 HRESULT hr = pDevice->pAdapter->D3D.D3D.pfnVBoxWineExD3DSwapchain9GetHostWinID(pSwapchain->pSwapChainIf, &Buf.SwapchainInfo.SwapchainInfo.winHostID);
747 Buf.SwapchainInfo.SwapchainInfo.cAllocs = pSwapchain
779 vboxWddmSwapchainKmDestroy(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
794 vboxWddmSwapchainDestroyIf(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
817 vboxWddmSwapchainClear(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
830 vboxWddmSwapchainDestroy(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
856 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = (PVBOXWDDMDISP_SWAPCHAIN)RTMemAllocZ(sizeof (VBOXWDDMDISP_SWAPCHAIN)); local
867 vboxWddmSwapchainRtInit(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_RENDERTGT pRt, PVBOXWDDMDISP_ALLOCATION pAlloc) argument
876 vboxWddmSwapchainBbAddTail(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_ALLOCATION pAlloc, BOOL bAssignAsBb) argument
898 vboxWddmSwapchainFlip(PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
903 vboxWddmSwapchainNumRTs(PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
909 vboxWddmSwapchainRtForAlloc(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_ALLOCATION pAlloc) argument
926 vboxWddmSwapchainRtIndex(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_RENDERTGT pRT) argument
938 vboxWddmSwapchainRtRemove(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_RENDERTGT pRT) argument
968 vboxWddmSwapchainSetBb(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_RENDERTGT pRT) argument
978 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = pBbAlloc->pSwapchain; local
1051 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainAlloc(pDevice); local
1064 vboxWddmSwapchainIdxBb2Rt(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, uint32_t iBb) argument
1069 vboxWddmSwapchainRtSynch(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain, uint32_t iBb) argument
1210 vboxWddmSwapchainSynch(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
1229 vboxWddmSwapchainFillPresentParams(PVBOXWDDMDISP_SWAPCHAIN pSwapchain, D3DPRESENT_PARAMETERS *pParams) argument
1242 vboxWddmSwapchainSwtichOffscreenRt(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain, BOOL fForceCreate) argument
1355 vboxWddmSwapchainSwtichRtPresent(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
1395 vboxWddmSwapchainChkCreateIf(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
1628 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainCreateForRc(pDevice, pRc); local
1646 vboxWddmSwapchainBbUpdate(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_ALLOCATION pBbAlloc) argument
1668 vboxWddmSwapchainSurfGet(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain, PVBOXWDDMDISP_ALLOCATION pAlloc, IDirect3DSurface9 **ppSurf) argument
1707 vboxWddmSwapchainRtSurfGet(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain, UINT iRt, PVBOXWDDMDISP_ALLOCATION pAlloc, BOOL bOnSwapchainSynch, IDirect3DSurface9 **ppSurf) argument
1756 vboxWddmSwapchainPresentPerform(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain) argument
1814 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainFindCreate(pDevice, pBbAlloc, &bNeedPresent); local
1896 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainForAlloc(pAlloc); local
4574 PVBOXWDDMDISP_SWAPCHAIN pSwapchain = vboxWddmSwapchainForAlloc(pAlloc); local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dswapchain.c54 IWineD3DSwapChainImpl *pSwapchain = (IWineD3DSwapChainImpl*)pDevice->swapchains[i]; local
55 if (pSwapchain->win_handle == hWnd)
57 return pSwapchain;
64 static VOID swapchain_cleanup_rt_refs(IWineD3DSwapChainImpl *pSwapchain, IWineD3DSurface *rt, int iBb) argument
66 IWineD3DDeviceImpl *device = pSwapchain->device;
100 static VOID swapchain_cleanup_refs(IWineD3DSwapChainImpl *pSwapchain) argument
103 IWineD3DDeviceImpl *device = pSwapchain->device;
110 if (context->currentSwapchain == pSwapchain)
116 if (pSwapchain->frontBuffer)
117 swapchain_cleanup_rt_refs(pSwapchain, pSwapchai
129 swapchain_invalidate(IWineD3DSwapChainImpl *pSwapchain) argument
[all...]
H A Ddevice.c7255 IWineD3DSwapChain *pSwapchain = This->swapchains[i]; local
7256 IWineD3DSwapChain_Flush(pSwapchain);
7285 IWineD3DSwapChain *pSwapchain = This->swapchains[i]; local
7286 IWineD3DSwapChain_Flush(pSwapchain);

Completed in 97 milliseconds