From 1e5b6bf58a04ff80f1255090e91e196c8ba706fe Mon Sep 17 00:00:00 2001 From: "reveman@google.com" Date: Thu, 18 Oct 2012 01:44:52 +0000 Subject: cc: Replace TextureUploader::Parameters with ResourceUpdate struct. This is in preparation to reducing texture uploader classes and simplifying the resource update system. Also moves accelerated painting code to texture update controller. This doesn't change the behavior of the compositor in any way. BUG= TEST=cc_unittests Review URL: https://codereview.chromium.org/11183027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162603 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/layer_tree_host_unittest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cc/layer_tree_host_unittest.cc') diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc index c94c913..83ae7de 100644 --- a/cc/layer_tree_host_unittest.cc +++ b/cc/layer_tree_host_unittest.cc @@ -2465,7 +2465,9 @@ void EvictionTestLayer::update(CCTextureUpdateQueue& queue, const CCOcclusionTra if (!m_texture.get()) return; IntRect fullRect(0, 0, 10, 10); - TextureUploader::Parameters upload = { m_texture.get(), &m_bitmap, NULL, { fullRect, fullRect, IntSize() } }; + + ResourceUpdate upload = ResourceUpdate::Create( + m_texture.get(), &m_bitmap, fullRect, fullRect, IntSize()); queue.appendFullUpload(upload); } -- cgit v1.1