Lines Matching defs:viewport

2842         srcViewPort.x  = (uint32_t)((float)pThis->svga.viewport.x  * xMultiplier);
2843 srcViewPort.y = (uint32_t)((float)pThis->svga.viewport.y * yMultiplier);
2844 srcViewPort.cx = (uint32_t)((float)pThis->svga.viewport.cx * xMultiplier);
2845 srcViewPort.cy = (uint32_t)((float)pThis->svga.viewport.cy * yMultiplier);
2849 srcViewPort.x = pThis->svga.viewport.x;
2850 srcViewPort.y = pThis->svga.viewport.y;
2851 srcViewPort.cx = pThis->svga.viewport.cx;
2852 srcViewPort.cy = pThis->svga.viewport.cy;
2855 /* @note the viewport doesn't affect blitting. */
2866 rectDest.right = pThis->svga.viewport.cx;
2867 rectDest.bottom = pThis->svga.viewport.cy;
2877 if ( pRect[i].x + pRect[i].w <= pThis->svga.viewport.x
2878 || pThis->svga.viewport.x + pThis->svga.viewport.cx <= pRect[i].x
2879 || pRect[i].y + pRect[i].h <= pThis->svga.viewport.y
2880 || pThis->svga.viewport.y + pThis->svga.viewport.cy <= pRect[i].y)
2890 rectDest.left = RT_MAX(pRect[i].x, pThis->svga.viewport.x) - pThis->svga.viewport.x;
2891 rectDest.top = RT_MAX(pRect[i].y, pThis->svga.viewport.y) - pThis->svga.viewport.y;
2892 rectDest.right = RT_MIN(pRect[i].x + pRect[i].w, pThis->svga.viewport.x + pThis->svga.viewport.cx) - pThis->svga.viewport.x;
2893 rectDest.bottom = RT_MIN(pRect[i].y + pRect[i].h, pThis->svga.viewport.y + pThis->svga.viewport.cy) - pThis->svga.viewport.y;
3324 Log(("vmsvga3dChangeMode: old viewport settings (%d,%d)(%d,%d) z=%d/%d\n", viewportOrg.X, viewportOrg.Y, viewportOrg.Width, viewportOrg.Height, (uint32_t)(viewportOrg.MinZ * 100.0), (uint32_t)(viewportOrg.MaxZ * 100.0)));
3358 /* ResetEx changes the viewport; restore it again. */
3364 D3DVIEWPORT9 viewport;
3365 hr = pContext->pDevice->GetViewport(&viewport);
3368 Log(("vmsvga3dChangeMode: changed viewport settings (%d,%d)(%d,%d) z=%d/%d\n", viewport.X, viewport.Y, viewport.Width, viewport.Height, (uint32_t)(viewport.MinZ * 100.0), (uint32_t)(viewport.MaxZ * 100.0)));
3372 /* First set the render targets as they change the internal state (reset viewport etc) */
3516 D3DVIEWPORT9 viewport;
3534 hr = pContext->pDevice->GetViewport(&viewport);
3537 Log(("vmsvga3dSetZRange: old viewport settings (%d,%d)(%d,%d) z=%d/%d\n", viewport.X, viewport.Y, viewport.Width, viewport.Height, (uint32_t)(viewport.MinZ * 100.0), (uint32_t)(viewport.MaxZ * 100.0)));
3544 viewport.MinZ = zRange.min;
3545 viewport.MaxZ = zRange.max;
3546 hr = pContext->pDevice->SetViewport(&viewport);
4561 /* Changing the render target resets the viewport; restore it here. */