mac,viz: Do not promote invisible quad to CALayer
Skip promotion of quads to CALayer when the quad's visible rect is empty. As of crrev.com/c/2095494 we no longer remove fully occluded quads, but set the visible rect size to empty instead to improve performance. Fix CALayerOverlayRPDQTest.TooManyRenderPassDrawQuads to properly create the first DrawQuad. Test: CALayerOverlayTest.SkipNonVisible Bug: 1067513,1022544 Change-Id: Iec9b02ab2e5095cdd718845eea0dd4ca737bea43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134774 Commit-Queue: Sasha McIntosh <sashamcintosh@chromium.org> Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Cr-Commit-Position: refs/heads/master@{#757455}
Showing
Please register or sign in to comment