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