diff options
author | shawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 19:11:58 +0000 |
---|---|---|
committer | shawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 19:11:58 +0000 |
commit | 9bab0bbdf66d73e5a7ec81e9ef18f2be2387499c (patch) | |
tree | a33d0dda3d218c38d453c0fdd4eb93005ce1306e /cc/CCOcclusionTrackerTest.cpp | |
parent | 3f385d128f041788cc16f4edaf0be1af722f30c9 (diff) | |
download | chromium_src-9bab0bbdf66d73e5a7ec81e9ef18f2be2387499c.zip chromium_src-9bab0bbdf66d73e5a7ec81e9ef18f2be2387499c.tar.gz chromium_src-9bab0bbdf66d73e5a7ec81e9ef18f2be2387499c.tar.bz2 |
Refactor CCLayerTreeHostCommon - merge visible rect computation into calc draw transforms.
To aid the design of intelligent prepainting, and to clean up the code anyway, it's appropriate to do this.
Unit tests are already in place that cover this refactoring.
BUG=154442
R=enne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11079012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/CCOcclusionTrackerTest.cpp')
-rw-r--r-- | cc/CCOcclusionTrackerTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/CCOcclusionTrackerTest.cpp b/cc/CCOcclusionTrackerTest.cpp index 627e63b..ccc1355 100644 --- a/cc/CCOcclusionTrackerTest.cpp +++ b/cc/CCOcclusionTrackerTest.cpp @@ -241,7 +241,6 @@ protected: ASSERT(!root->renderSurface()); CCLayerTreeHostCommon::calculateDrawTransforms(root, root->bounds(), 1, &layerSorter, dummyMaxTextureSize, m_renderSurfaceLayerListImpl); - CCLayerTreeHostCommon::calculateVisibleRects(m_renderSurfaceLayerListImpl); m_layerIterator = m_layerIteratorBegin = Types::LayerIterator::begin(&m_renderSurfaceLayerListImpl); } @@ -254,7 +253,6 @@ protected: ASSERT(!root->renderSurface()); CCLayerTreeHostCommon::calculateDrawTransforms(root, root->bounds(), 1, dummyMaxTextureSize, m_renderSurfaceLayerListChromium); - CCLayerTreeHostCommon::calculateVisibleRects(m_renderSurfaceLayerListChromium); m_layerIterator = m_layerIteratorBegin = Types::LayerIterator::begin(&m_renderSurfaceLayerListChromium); } |