cc: Consider visible rect for update tile priority early out.
commitcc0e08bd762154a6e31de5a2e3b2aa5b23af0eae
authorvmpstr <vmpstr@chromium.org>
Tue, 21 Oct 2014 18:31:41 +0000 (21 11:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Oct 2014 18:31:59 +0000 (21 18:31 +0000)
tree456302a9b5964b5e718e4ca23af045e02eeccfd9
parent7592d13c4d3b73bcfae418bf451981f72fa9bd77
cc: Consider visible rect for update tile priority early out.

This patch adds a visible rect check for an early out from update
tile priorities.

The problem is that we can update tile priorities, then update
the visible rect in animation, and call update tile priorities
again. The second one would normally early out since it's called
in the same frame. This ensures the early out doesn't happen in
these cases.

BUG=423455
R=danakj, brianderson, enne

Review URL: https://codereview.chromium.org/667053003

Cr-Commit-Position: refs/heads/master@{#300526}
cc/layers/picture_layer_impl.cc
cc/resources/picture_layer_tiling.cc
cc/resources/picture_layer_tiling.h