Lines Matching refs:pBox
253 const D3DBOX *pBox, in NineVolume9_LockBox() argument
262 This, This->base.container, pLockedVolume, pBox, in NineVolume9_LockBox()
263 pBox ? pBox->Left : 0, pBox ? pBox->Right : 0, in NineVolume9_LockBox()
264 pBox ? pBox->Top : 0, pBox ? pBox->Bottom : 0, in NineVolume9_LockBox()
265 pBox ? pBox->Front : 0, pBox ? pBox->Back : 0, in NineVolume9_LockBox()
281 if (pBox && compressed_format (This->desc.Format)) { /* For volume all pools are checked */ in NineVolume9_LockBox()
284 user_assert((pBox->Left == 0 && pBox->Right == This->desc.Width && in NineVolume9_LockBox()
285 pBox->Top == 0 && pBox->Bottom == This->desc.Height) || in NineVolume9_LockBox()
286 (!(pBox->Left % w) && !(pBox->Right % w) && in NineVolume9_LockBox()
287 !(pBox->Top % h) && !(pBox->Bottom % h)), in NineVolume9_LockBox()
300 if (pBox) { in NineVolume9_LockBox()
301 user_assert(pBox->Right > pBox->Left, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
302 user_assert(pBox->Bottom > pBox->Top, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
303 user_assert(pBox->Back > pBox->Front, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
304 user_assert(pBox->Right <= This->desc.Width, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
305 user_assert(pBox->Bottom <= This->desc.Height, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
306 user_assert(pBox->Back <= This->desc.Depth, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
308 d3dbox_to_pipe_box(&box, pBox); in NineVolume9_LockBox()