Lines Matching refs:This

9  *This library is free software; you can redistribute it and/or
14 *This library is distributed in the hope that it will be useful,
59 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
60 DWORD refCount = InterlockedIncrement(&This->ref);
61 TRACE("(%p) : AddRef increasing from %d\n", This, refCount - 1);
66 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
68 refCount = InterlockedDecrement(&This->ref);
69 TRACE("(%p) : ReleaseRef to %d\n", This, refCount);
77 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
78 *ppParent = This->parent;
80 TRACE("(%p) returning %p\n", This , *ppParent);
85 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
88 TRACE("(%p) : iface(%p) pDestSurface(%p)\n", This, iface, pDestSurface);
94 if (This->presentParms.Windowed) {
95 MapWindowPoints(This->win_handle, NULL, &start, 1);
99 IWineD3DSurface_BltFast(pDestSurface, start.x, start.y, This->frontBuffer, NULL, 0);
105 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
110 *ppBackBuffer = This->frontBuffer;
116 if (iBackBuffer > This->presentParms.BackBufferCount - 1) {
126 * used (there This->backBuffer is always NULL). We need this because this function has
129 if( !This->backBuffer ) {
134 *ppBackBuffer = This->backBuffer[iBackBuffer];
135 TRACE("(%p) : BackBuf %d Type %d returning %p\n", This, iBackBuffer, Type, *ppBackBuffer);
157 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
160 TRACE("(%p)->(%p): Calling GetAdapterDisplayMode\n", This, pMode);
161 hr = IWineD3D_GetAdapterDisplayMode(This->device->wined3d, This->device->adapter->ordinal, pMode);
163 TRACE("(%p) : returning w(%d) h(%d) rr(%d) fmt(%u,%s)\n", This, pMode->Width, pMode->Height, pMode->RefreshRate,
169 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
171 *ppDevice = (IWineD3DDevice *)This->device;
176 TRACE("(%p) : returning %p\n", This, *ppDevice);
181 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
182 TRACE("(%p)\n", This);
184 *pPresentationParameters = This->presentParms;
191 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
195 hWnd = This->device_window;
197 hWnd = This->win_handle;
199 TRACE("(%p) : pRamp@%p flags(%d)\n", This, pRamp, Flags);
209 IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
213 hWnd = This->device_window;
215 hWnd = This->win_handle;
217 TRACE("(%p) : pRamp@%p\n", This, pRamp);