Descriptioncc: Reduce surface contents scale adjustments.
This avoids updating the surface contents scale based on the current
transform if layer_transforms_should_scale_layer_contents is false. The
result is that render surfaces size doesn't need to be adjusted during
transform animations in the Chrome OS UI. This is a prerequisite to
caching of render surfaces and is the preferred behavior as UI raster
scale should not change during these animations.
BUG=708513
TEST=cc_unittests --gtest_filter=LayerTreeHostCommonTest.CanAdjustRasterScaleTest
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2795963002
Cr-Commit-Position: refs/heads/master@{#462684}
Committed: https://chromium.googlesource.com/chromium/src/+/b2b99a3b809f5ecbad2c3c9106dda9835e39a247
Patch Set 1 #
Total comments: 4
Patch Set 2 : use layer_transforms_should_scale_layer_contents and dsf #Patch Set 3 : add unit test #Patch Set 4 : fix tests #Patch Set 5 : Fix SnapshotAuraTests #Patch Set 6 : apply scale for copy requests #
Messages
Total messages: 40 (24 generated)
|