Revert 261000 "Re-raster GPU-rasterized layers during scale animations"
commit41a7fd691f089cb0f40cb88c328b3ea8313fb644
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 11 May 2014 05:14:40 +0000 (11 05:14 +0000)
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 11 May 2014 05:14:40 +0000 (11 05:14 +0000)
treefe2f9c04a8d0c9b117d2c19390b6e8b036ce401b
parent15c179660b149e779445cc712cbdc69bad401e1f
Revert 261000 "Re-raster GPU-rasterized layers during scale animations"

This reverts http://crrev.com/216313007.

Re-rastering a layer with text during a scale animation can cause
many texture uploads during the animation (as new glyphs are generated
at each scale).

To re-enable this behavior in the future, we need to either make it
dependent on distance-field fonts, or we need a way to reuse glyphs
during scale animations (allowing text to become slightly blurry rather
than generating new glyphs every frame).

BUG=366225

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269701 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/picture_layer_impl.cc
cc/layers/picture_layer_impl_unittest.cc