summaryrefslogtreecommitdiffstats
path: root/third_party/ply
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 12:14:31 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 12:14:31 +0000
commitbae49f2c697eb35b62c6503b051db728ebb8044e (patch)
treebaa76626d8fff59584ec2f9d16bbe047959ef3b1 /third_party/ply
parent164e62828afdd0df8a608a67395d9203e32babe0 (diff)
downloadchromium_src-bae49f2c697eb35b62c6503b051db728ebb8044e.zip
chromium_src-bae49f2c697eb35b62c6503b051db728ebb8044e.tar.gz
chromium_src-bae49f2c697eb35b62c6503b051db728ebb8044e.tar.bz2
cc: Fix clipped render surface caching.
Fix this by considering clipping from outside of the target surface as occlusion from outside the target surface. We clip quads by the various rects including the device viewport. When we do this, it should count as occlusion from outside of the target surface so that surfaces do not consider themselves complete when they are not fully drawn because they extend outside the viewport. The OcclusionTrackerTestLayerClipIsExternalOcclusion test will pass without this CL as clipping does not cross surface boundaries in the occlusion tracker right now, except for the screen space (viewport) clip rect. I've added some TODOs where we could change this behaviour and clip more aggressively things that will not be seen. Tests: cc_unittests:OcclusionTrackerTestViewportClipIsExternalOcclusion* cc_unittests:OcclusionTrackerTestLayerClipIsExternalOcclusion* BUG=167681 R=enne Review URL: https://chromiumcodereview.appspot.com/11971030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ply')
0 files changed, 0 insertions, 0 deletions