Home
last modified time | relevance | path

Searched refs:rgn1 (Results 1 – 5 of 5) sorted by relevance

/external/skia/tests/
DRegionTest.cpp214 SkRegion rgn0, rgn1; in test_rects() local
219 rgn1.setRects(rect, count); in test_rects()
221 if (rgn0 != rgn1) { in test_rects()
251 SkRegion rgn0, rgn1; in DEF_TEST() local
DAAClipTest.cpp261 SkRegion rgn0, rgn1; in test_irect() local
269 rgn1.setRect(r1); in test_irect()
275 bool nonEmptyBW = rgn2.op(rgn0, rgn1, op); in test_irect()
/external/skqp/tests/
DRegionTest.cpp214 SkRegion rgn0, rgn1; in test_rects() local
219 rgn1.setRects(rect, count); in test_rects()
221 if (rgn0 != rgn1) { in test_rects()
251 SkRegion rgn0, rgn1; in DEF_TEST() local
DAAClipTest.cpp261 SkRegion rgn0, rgn1; in test_irect() local
269 rgn1.setRect(r1); in test_irect()
275 bool nonEmptyBW = rgn2.op(rgn0, rgn1, op); in test_irect()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp1847 static bool RegionIntersects(const VkImageCopy *rgn0, const VkImageCopy *rgn1, VkImageType type, bo… in RegionIntersects() argument
1851 if (is_multiplane && (rgn0->srcSubresource.aspectMask != rgn1->dstSubresource.aspectMask)) { in RegionIntersects()
1855 if ((rgn0->srcSubresource.mipLevel == rgn1->dstSubresource.mipLevel) && in RegionIntersects()
1856 …(RangesIntersect(rgn0->srcSubresource.baseArrayLayer, rgn0->srcSubresource.layerCount, rgn1->dstSu… in RegionIntersects()
1857 rgn1->dstSubresource.layerCount))) { in RegionIntersects()
1861 …result &= RangesIntersect(rgn0->srcOffset.z, rgn0->extent.depth, rgn1->dstOffset.z, rgn1->extent.d… in RegionIntersects()
1864 …esult &= RangesIntersect(rgn0->srcOffset.y, rgn0->extent.height, rgn1->dstOffset.y, rgn1->extent.h… in RegionIntersects()
1867 …result &= RangesIntersect(rgn0->srcOffset.x, rgn0->extent.width, rgn1->dstOffset.x, rgn1->extent.w… in RegionIntersects()