Lines Matching refs:dxViewport
442 D3DVIEWPORT9 dxViewport; in setViewportState() local
443 dxViewport.X = gl::clamp(actualViewport.x, 0, static_cast<int>(mRenderTargetBounds.width)); in setViewportState()
444 dxViewport.Y = gl::clamp(actualViewport.y, 0, static_cast<int>(mRenderTargetBounds.height)); in setViewportState()
445 dxViewport.Width = in setViewportState()
447 static_cast<int>(mRenderTargetBounds.width) - static_cast<int>(dxViewport.X)); in setViewportState()
448 dxViewport.Height = in setViewportState()
450 static_cast<int>(mRenderTargetBounds.height) - static_cast<int>(dxViewport.Y)); in setViewportState()
451 dxViewport.MinZ = actualZNear; in setViewportState()
452 dxViewport.MaxZ = actualZFar; in setViewportState()
456 mRenderer9->getDevice()->SetViewport(&dxViewport); in setViewportState()
469 static_cast<float>((actualViewport.width - static_cast<int>(dxViewport.Width)) + in setViewportState()
470 2 * (actualViewport.x - static_cast<int>(dxViewport.X)) - 1) / in setViewportState()
471 dxViewport.Width; in setViewportState()
473 static_cast<float>((actualViewport.height - static_cast<int>(dxViewport.Height)) + in setViewportState()
474 2 * (actualViewport.y - static_cast<int>(dxViewport.Y)) - 1) / in setViewportState()
475 dxViewport.Height; in setViewportState()
476 vc.viewAdjust[2] = static_cast<float>(actualViewport.width) / dxViewport.Width; in setViewportState()
477 vc.viewAdjust[3] = static_cast<float>(actualViewport.height) / dxViewport.Height; in setViewportState()