Lines Matching refs:rect
141 // Start with the right side of rect so we know if we end up going pass the maxWidth.
160 // Start with the bottom side of rect so we know if we end up going pass the maxHeight.
450 // Flip rect if necessary
455 vkRect = scissor.rect();
457 vkRect.setLTRB(scissor.rect().fLeft, sb->height() - scissor.rect().fBottom,
458 scissor.rect().fRight, sb->height() - scissor.rect().fTop);
461 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop };
462 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() };
496 // We always do a sub rect clear with clearAttachments since we are inside a render pass
498 // Flip rect if necessary
503 vkRect = scissor.rect();
505 vkRect.setLTRB(scissor.rect().fLeft, dimensions.height() - scissor.rect().fBottom,
506 scissor.rect().fRight, dimensions.height() - scissor.rect().fTop);
508 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop };
509 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() };