summaryrefslogtreecommitdiffstats
path: root/cc/test/render_pass_test_common.cc
diff options
context:
space:
mode:
authorloislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 06:28:40 +0000
committerloislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 06:28:40 +0000
commit5e5e155948b49c26d17535f984a9fd03199fef23 (patch)
tree66c6f56fdcf4d9026b026a1f951393ee51d80639 /cc/test/render_pass_test_common.cc
parentfd0b7f15f54de5eb43d4e6549c5040cae28e2049 (diff)
downloadchromium_src-5e5e155948b49c26d17535f984a9fd03199fef23.zip
chromium_src-5e5e155948b49c26d17535f984a9fd03199fef23.tar.gz
chromium_src-5e5e155948b49c26d17535f984a9fd03199fef23.tar.bz2
Revert "cc: Defer texture allocation (to allow async allocations)."
This reverts commit 715d476d4225cd2ad2ff1c221b84a2764d57cd53. It broke 11 video compositing layout tests. compositing/geometry/video-fixed-scrolling.html compositing/geometry/video-opacity-overlay.html compositing/layers-inside-overflow-scroll.html compositing/overflow/overflow-compositing-descendant.html compositing/overflow/scroll-ancestor-update.html compositing/self-painting-layers.html compositing/visibility/visibility-simple-video-layer.html platform/chromium/compositing/lost-compositor-context-with-video.html platform/chromium/compositing/video-frame-size-change.html platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant.html platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update.html plugins/embed-attributes-setting.html BUG=none TEST=none TBR=epenner Review URL: https://codereview.chromium.org/11637032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174108 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_common.cc')
-rw-r--r--cc/test/render_pass_test_common.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index b9cadb2..f44558f 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -29,7 +29,6 @@ void TestRenderPass::AppendOneOfEveryQuadType(
gfx::Size(20, 12),
resourceProvider->bestTextureFormat(),
ResourceProvider::TextureUsageAny);
- resourceProvider->allocateForTesting(texture_resource);
scoped_ptr<cc::SharedQuadState> shared_state = cc::SharedQuadState::Create();
shared_state->SetAll(gfx::Transform(),
rect,