Lines Matching refs:IWineD3DSwapChain
1090 WINED3DPRESENT_PARAMETERS *present_parameters, IWineD3DSwapChain **swapchain,
1116 *swapchain = (IWineD3DSwapChain *)object;
1129 static HRESULT WINAPI IWineD3DDeviceImpl_GetSwapChain(IWineD3DDevice *iface, UINT iSwapChain, IWineD3DSwapChain **pSwapChain) {
1693 pPresentationParameters, (IWineD3DSwapChain **)&swapchain);
1701 This->swapchains = HeapAlloc(GetProcessHeap(), 0, This->NumberOfSwapChains * sizeof(IWineD3DSwapChain *));
1706 This->swapchains[0] = (IWineD3DSwapChain *) swapchain;
1805 IWineD3DSwapChain_Release( (IWineD3DSwapChain *) swapchain);
1833 pPresentationParameters, (IWineD3DSwapChain **)&swapchain);
1841 This->swapchains = HeapAlloc(GetProcessHeap(), 0, This->NumberOfSwapChains * sizeof(IWineD3DSwapChain *));
1846 This->swapchains[0] = (IWineD3DSwapChain *) swapchain;
1850 IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
4314 IWineD3DSwapChain *swapchain;
4346 IWineD3DSwapChain *swapChain;
4465 IWineD3DSwapChain *swapChain = NULL;
5249 IWineD3DSwapChain *swapChain;
5440 IWineD3DSwapChain *swapchain;
5920 if (FAILED(hr = IWineD3DDevice_GetSwapChain(iface, 0, (IWineD3DSwapChain **)&swapchain)))
5929 IWineD3DSwapChain_Release((IWineD3DSwapChain *)swapchain);
5938 IWineD3DSwapChain_Release((IWineD3DSwapChain *)swapchain);
5948 IWineD3DSwapChain_Release((IWineD3DSwapChain *)swapchain);
6001 IWineD3DSwapChain_Release((IWineD3DSwapChain *)swapchain);
6742 hr = IWineD3DDevice_GetSwapChain(iface, 0, (IWineD3DSwapChain **) &swapchain);
6752 IWineD3DSwapChain_Release((IWineD3DSwapChain *)swapchain);
6814 IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
6863 IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
6871 IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
6879 IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
6970 IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
6997 IWineD3DSwapChain *swapchain;
7008 IWineD3DSwapChain *swapchain;
7179 static HRESULT WINAPI IWineD3DDeviceImpl_AddSwapChain(IWineD3DDevice *iface, IWineD3DSwapChain *swapchain)
7182 VOID *pvNewBuf = HeapReAlloc(GetProcessHeap(), 0, This->swapchains, (This->NumberOfSwapChains + 1) * sizeof(IWineD3DSwapChain *));
7187 This->swapchains = (IWineD3DSwapChain **)pvNewBuf;
7193 static HRESULT WINAPI IWineD3DDeviceImpl_RemoveSwapChain(IWineD3DDevice *iface, IWineD3DSwapChain *swapchain)
7197 IWineD3DSwapChain **pvOldBuf = This->swapchains;
7216 IWineD3DSwapChain **pvNewBuf = (IWineD3DSwapChain **)HeapAlloc(GetProcessHeap(), 0, (This->NumberOfSwapChains) * sizeof(IWineD3DSwapChain *));
7222 memcpy (pvNewBuf, This->swapchains, i*sizeof(IWineD3DSwapChain *));
7225 memcpy (pvNewBuf + i, This->swapchains +i+1, (This->NumberOfSwapChains - i)*sizeof(IWineD3DSwapChain *));
7255 IWineD3DSwapChain *pSwapchain = This->swapchains[i];
7285 IWineD3DSwapChain *pSwapchain = This->swapchains[i];