Searched refs:safeArea (Results 1 – 1 of 1) sorted by relevance
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Renderer11.cpp | 3424 gl::Rectangle safeArea; in readFromAttachment() local 3425 safeArea.x = gl::clamp(actualArea.x, 0, texSize.width); in readFromAttachment() 3426 safeArea.y = gl::clamp(actualArea.y, 0, texSize.height); in readFromAttachment() 3427 safeArea.width = in readFromAttachment() 3428 gl::clamp(actualArea.width + std::min(actualArea.x, 0), 0, texSize.width - safeArea.x); in readFromAttachment() 3429 safeArea.height = in readFromAttachment() 3430 gl::clamp(actualArea.height + std::min(actualArea.y, 0), 0, texSize.height - safeArea.y); in readFromAttachment() 3432 ASSERT(safeArea.x >= 0 && safeArea.y >= 0); in readFromAttachment() 3433 ASSERT(safeArea.x + safeArea.width <= texSize.width); in readFromAttachment() 3434 ASSERT(safeArea.y + safeArea.height <= texSize.height); in readFromAttachment() [all …]
|