• Home
  • Raw
  • Download

Lines Matching refs:dxViewport

487                                          const D3D11_VIEWPORT &dxViewport,  in onViewportChange()  argument
498 mVertex.viewAdjust[0] = static_cast<float>((glViewport.width - dxViewport.Width) + in onViewportChange()
499 2 * (glViewport.x - dxViewport.TopLeftX)) / in onViewportChange()
500 dxViewport.Width; in onViewportChange()
501 mVertex.viewAdjust[1] = static_cast<float>((glViewport.height - dxViewport.Height) + in onViewportChange()
502 2 * (glViewport.y - dxViewport.TopLeftY)) / in onViewportChange()
503 dxViewport.Height; in onViewportChange()
504 mVertex.viewAdjust[2] = static_cast<float>(glViewport.width) / dxViewport.Width; in onViewportChange()
505 mVertex.viewAdjust[3] = static_cast<float>(glViewport.height) / dxViewport.Height; in onViewportChange()
520 const float zNear = dxViewport.MinDepth; in onViewportChange()
521 const float zFar = dxViewport.MaxDepth; in onViewportChange()
1448 D3D11_VIEWPORT dxViewport; in syncViewport() local
1449 dxViewport.TopLeftX = static_cast<float>(dxViewportTopLeftX); in syncViewport()
1457 dxViewport.TopLeftY = static_cast<float>(mCurPresentPathFastColorBufferHeight - in syncViewport()
1462 dxViewport.TopLeftY = static_cast<float>(dxViewportTopLeftY); in syncViewport()
1475 dxViewport.Width = in syncViewport()
1477 dxViewport.Height = in syncViewport()
1482 dxViewport.Width = static_cast<float>(dxViewportWidth); in syncViewport()
1483 dxViewport.Height = static_cast<float>(dxViewportHeight); in syncViewport()
1485 dxViewport.MinDepth = actualZNear; in syncViewport()
1486 dxViewport.MaxDepth = actualZFar; in syncViewport()
1488 mRenderer->getDeviceContext()->RSSetViewports(1, &dxViewport); in syncViewport()