Avoid quickReject() when rastering a cc::DrawingDisplayItem.
The Rtree should already have avoided any items which don't intersect with what we want to raster. There may be scenarios where rejecting from the cull rect produces slightly better results because of rounding while constructing the visual rect, but these are extreme corner cases along tile boundaries and should be rare, and not worth the extra overhead for the common case, as demonstrated by the perf results. R=wkorman@chromium.org Bug: 671433 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I1556d618fa2d276525787fb903bdfa2d5aba653d Reviewed-on: https://chromium-review.googlesource.com/506519 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#474014}
Showing
Please register or sign in to comment