MacOS: Use IOSurfaceAlignProperty on kIOSurfaceBytesPerRow et al
Use IOSurfaceAlignProperty to align the following properties: - kIOSurfacePlaneBytesPerRow - kIOSurfacePlaneSize - kIOSurfacePlaneOffset - kIOSurfaceBytesPerRow - kIOSurfaceAllocSize Clean up the structure of CreateIOSurface by merging the two "if (num_planes > 1)" branches. Bug: 1134712 Change-Id: Ib5d7c936b5f21359657af4f27f78fb1eca1d14e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518763Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#824571}
Showing
Please register or sign in to comment