cc: Propagate read lock fences constraints to parent compositors.
commit6158dbf13d7371730b1504ce720a8e51ada59265
authordcastagna <dcastagna@chromium.org>
Wed, 17 Jun 2015 20:54:07 +0000 (17 13:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Jun 2015 20:54:48 +0000 (17 20:54 +0000)
tree1174e716ffbcf78ba1423d0295c86eac3181384e
parent68f14da68464e35f01d7b1bc2734c116ef0a0f88
cc: Propagate read lock fences constraints to parent compositors.

The root compositor might receive resources that require to be
synchronized on the CPU: they should not be returned to the child
compositor until the GPU is completely done drawing with them.

BUG=386735
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Commit-Position: refs/heads/master@{#334912}
cc/resources/resource_provider.cc
cc/resources/resource_provider.h
cc/resources/resource_provider_unittest.cc
cc/resources/transferable_resource.cc
cc/resources/transferable_resource.h
content/common/cc_messages.h