summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_test_common.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 18:36:53 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 18:36:53 +0000
commit7c65344a0c4d50346e7a1adaf098b5d1e711b086 (patch)
tree3dd743ccb1e82e31510a62c0e80dedec47d16043 /cc/test/layer_test_common.h
parent0a1b984aa537859e033de89a3a8392b5d357f951 (diff)
downloadchromium_src-7c65344a0c4d50346e7a1adaf098b5d1e711b086.zip
chromium_src-7c65344a0c4d50346e7a1adaf098b5d1e711b086.tar.gz
chromium_src-7c65344a0c4d50346e7a1adaf098b5d1e711b086.tar.bz2
cc: Apply occlusion before creating quads in VideoLayerImpl.
This makes the AppendQuads method query occlusion directly and subtract it from the quads it would create before they are created, skipping quads that are completely occluded and avoiding a malloc/free for them. Depends on: https://codereview.chromium.org/203463015/ R=enne@chromium.org, enne BUG=344962 Review URL: https://codereview.chromium.org/204823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_test_common.h')
-rw-r--r--cc/test/layer_test_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/layer_test_common.h b/cc/test/layer_test_common.h
index 12b630f..6caa604 100644
--- a/cc/test/layer_test_common.h
+++ b/cc/test/layer_test_common.h
@@ -77,6 +77,7 @@ class LayerTestCommon {
return host_->host_impl()->resource_provider();
}
FakeLayerTreeHostImpl* host_impl() const { return host_->host_impl(); }
+ Proxy* proxy() const { return host_->host_impl()->proxy(); }
const QuadList& quad_list() const { return quad_culler_.quad_list(); }
private: