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/gallium/drivers/swr/rasterizer/core/
Ddepthstencil.h135 const SWR_VIEWPORT* pViewport = &pState->vp[viewportIndex]; in DepthStencilTest() local
141 simdscalar vMinZ = _simd_broadcast_ss(&pViewport->minZ); in DepthStencilTest()
142 simdscalar vMaxZ = _simd_broadcast_ss(&pViewport->maxZ); in DepthStencilTest()
256 void DepthStencilWrite(const SWR_VIEWPORT* pViewport, in DepthStencilWrite() argument
269 simdscalar vMinZ = _simd_broadcast_ss(&pViewport->minZ); in DepthStencilWrite()
270 simdscalar vMaxZ = _simd_broadcast_ss(&pViewport->maxZ); in DepthStencilWrite()
/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);