Lines Matching refs:pBox
248 const D3DBOX *pBox, in NineVolume9_LockBox() argument
257 This, This->base.container, pLockedVolume, pBox, in NineVolume9_LockBox()
258 pBox ? pBox->Left : 0, pBox ? pBox->Right : 0, in NineVolume9_LockBox()
259 pBox ? pBox->Top : 0, pBox ? pBox->Bottom : 0, in NineVolume9_LockBox()
260 pBox ? pBox->Front : 0, pBox ? pBox->Back : 0, in NineVolume9_LockBox()
276 if (pBox && compressed_format (This->desc.Format)) { /* For volume all pools are checked */ in NineVolume9_LockBox()
279 user_assert((pBox->Left == 0 && pBox->Right == This->desc.Width && in NineVolume9_LockBox()
280 pBox->Top == 0 && pBox->Bottom == This->desc.Height) || in NineVolume9_LockBox()
281 (!(pBox->Left % w) && !(pBox->Right % w) && in NineVolume9_LockBox()
282 !(pBox->Top % h) && !(pBox->Bottom % h)), in NineVolume9_LockBox()
295 if (pBox) { in NineVolume9_LockBox()
296 user_assert(pBox->Right > pBox->Left, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
297 user_assert(pBox->Bottom > pBox->Top, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
298 user_assert(pBox->Back > pBox->Front, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
299 user_assert(pBox->Right <= This->desc.Width, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
300 user_assert(pBox->Bottom <= This->desc.Height, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
301 user_assert(pBox->Back <= This->desc.Depth, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
303 d3dbox_to_pipe_box(&box, pBox); in NineVolume9_LockBox()