Home
last modified time | relevance | path

Searched refs:pViewport (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DRasterizer.cpp65 const D3D10_DDI_VIEWPORT *pViewport = &pViewports[i]; in SetViewports() local
66 float width = pViewport->Width; in SetViewports()
67 float height = pViewport->Height; in SetViewports()
68 float x = pViewport->TopLeftX; in SetViewports()
69 float y = pViewport->TopLeftY; in SetViewports()
70 float z = pViewport->MinDepth; in SetViewports()
73 float depth = pViewport->MaxDepth - z; in SetViewports()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_cmd_buffer.c1800 const VkViewport *pViewport) in check_viewport_quirk_70165() argument
1816 if (pViewport->width <= 4096 && pViewport->height <= 4096) { in check_viewport_quirk_70165()
1817 guardband_width = pViewport->width / 4.0f; in check_viewport_quirk_70165()
1818 guardband_height = pViewport->height / 4.0f; in check_viewport_quirk_70165()
1830 guardband_width = pViewport->width / 4.0f; in check_viewport_quirk_70165()
1831 guardband_height = pViewport->height / 4.0f; in check_viewport_quirk_70165()
1841 guardband_width = pViewport->width / 4.0f; in check_viewport_quirk_70165()
1842 guardband_height = pViewport->height / 4.0f; in check_viewport_quirk_70165()
1851 min_vertex_x = pViewport->x - guardband_width; in check_viewport_quirk_70165()
1852 max_vertex_x = pViewport->x + pViewport->width + guardband_width; in check_viewport_quirk_70165()
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Ddevice9.c2204 const D3DVIEWPORT9 *pViewport ) in NineDevice9_SetViewport() argument
2209 pViewport->X, pViewport->Y, pViewport->Width, pViewport->Height, in NineDevice9_SetViewport()
2210 pViewport->MinZ, pViewport->MaxZ); in NineDevice9_SetViewport()
2212 user_assert(pViewport != NULL, D3DERR_INVALIDCALL); in NineDevice9_SetViewport()
2213 state->viewport = *pViewport; in NineDevice9_SetViewport()
2214 nine_context_set_viewport(This, pViewport); in NineDevice9_SetViewport()
2221 D3DVIEWPORT9 *pViewport ) in NineDevice9_GetViewport() argument
2223 user_assert(pViewport != NULL, D3DERR_INVALIDCALL); in NineDevice9_GetViewport()
2224 *pViewport = This->state.viewport; in NineDevice9_GetViewport()
Ddevice9.h493 const D3DVIEWPORT9 *pViewport );
497 D3DVIEWPORT9 *pViewport );
Dnine_lock.c1086 const D3DVIEWPORT9 *pViewport ) in LockDevice9_SetViewport() argument
1090 r = NineDevice9_SetViewport(This, pViewport); in LockDevice9_SetViewport()
1097 D3DVIEWPORT9 *pViewport ) in LockDevice9_GetViewport() argument
1101 r = NineDevice9_GetViewport(This, pViewport); in LockDevice9_GetViewport()
/third_party/mesa3d/include/D3D9/
Dd3d9.h205 virtual HRESULT WINAPI SetViewport(const D3DVIEWPORT9 *pViewport) = 0;
206 virtual HRESULT WINAPI GetViewport(D3DVIEWPORT9 *pViewport) = 0;
793 HRESULT (WINAPI *SetViewport)(IDirect3DDevice9 *This, const D3DVIEWPORT9 *pViewport);
794 HRESULT (WINAPI *GetViewport)(IDirect3DDevice9 *This, D3DVIEWPORT9 *pViewport);
1044 HRESULT (WINAPI *SetViewport)(IDirect3DDevice9Ex *This, const D3DVIEWPORT9 *pViewport);
1045 HRESULT (WINAPI *GetViewport)(IDirect3DDevice9Ex *This, D3DVIEWPORT9 *pViewport);