diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 18:36:53 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 18:36:53 +0000 |
commit | 7c65344a0c4d50346e7a1adaf098b5d1e711b086 (patch) | |
tree | 3dd743ccb1e82e31510a62c0e80dedec47d16043 /cc/test/layer_test_common.h | |
parent | 0a1b984aa537859e033de89a3a8392b5d357f951 (diff) | |
download | chromium_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.h | 1 |
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: |