Lines Matching refs:viewport
34 D3DVIEWPORT9 viewport; member
63 IDirect3DDevice9_GetViewport(device, &state->viewport); in device_state_capture()
94 IDirect3DDevice9_SetViewport(device, &state->viewport); in device_state_restore()
216 const D3DVIEWPORT9 *viewport) in D3DXRenderToSurface_BeginScene() argument
226 TRACE("(%p)->(%p, %p)\n", iface, surface, viewport); in D3DXRenderToSurface_BeginScene()
236 if (viewport) in D3DXRenderToSurface_BeginScene()
238 if (viewport->X > render->desc.Width || viewport->Y > render->desc.Height in D3DXRenderToSurface_BeginScene()
239 || viewport->X + viewport->Width > render->desc.Width in D3DXRenderToSurface_BeginScene()
240 || viewport->Y + viewport->Height > render->desc.Height) in D3DXRenderToSurface_BeginScene()
244 && (viewport->X != 0 || viewport->Y != 0 in D3DXRenderToSurface_BeginScene()
245 || viewport->Width != render->desc.Width in D3DXRenderToSurface_BeginScene()
246 || viewport->Height != render->desc.Height)) in D3DXRenderToSurface_BeginScene()
288 if (viewport) IDirect3DDevice9_SetViewport(device, viewport); in D3DXRenderToSurface_BeginScene()