Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3150)

Unified Diff: cc/single_thread_proxy.cc

Issue 11270047: cc: Rename TextureUpdate to ResourceUpdate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort includes and forward declarations. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/single_thread_proxy.h ('k') | cc/skpicture_content_layer_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/single_thread_proxy.cc
diff --git a/cc/single_thread_proxy.cc b/cc/single_thread_proxy.cc
index 9667e75d2cc755a1d9d96b6f489cc750ea14e06e..f4d0f9ade5bf056a8c47599f2afdcca1a0e5e2a3 100644
--- a/cc/single_thread_proxy.cc
+++ b/cc/single_thread_proxy.cc
@@ -10,7 +10,7 @@
#include "cc/draw_quad.h"
#include "cc/graphics_context.h"
#include "cc/layer_tree_host.h"
-#include "cc/texture_update_controller.h"
+#include "cc/resource_update_controller.h"
#include "cc/timer.h"
#include <wtf/CurrentTime.h>
@@ -176,7 +176,7 @@ void SingleThreadProxy::setNeedsAnimate()
NOTREACHED();
}
-void SingleThreadProxy::doCommit(scoped_ptr<TextureUpdateQueue> queue)
+void SingleThreadProxy::doCommit(scoped_ptr<ResourceUpdateQueue> queue)
{
DCHECK(Proxy::isMainThread());
// Commit immediately
@@ -190,8 +190,8 @@ void SingleThreadProxy::doCommit(scoped_ptr<TextureUpdateQueue> queue)
m_layerTreeHost->contentsTextureManager()->pushTexturePrioritiesToBackings();
m_layerTreeHost->beginCommitOnImplThread(m_layerTreeHostImpl.get());
- scoped_ptr<TextureUpdateController> updateController =
- TextureUpdateController::create(
+ scoped_ptr<ResourceUpdateController> updateController =
+ ResourceUpdateController::create(
NULL,
Proxy::mainThread(),
queue.Pass(),
@@ -324,7 +324,7 @@ bool SingleThreadProxy::commitAndComposite()
}
m_layerTreeHost->contentsTextureManager()->unlinkEvictedBackings(evictedContentsTexturesBackings);
- scoped_ptr<TextureUpdateQueue> queue = make_scoped_ptr(new TextureUpdateQueue);
+ scoped_ptr<ResourceUpdateQueue> queue = make_scoped_ptr(new ResourceUpdateQueue);
m_layerTreeHost->updateLayers(*(queue.get()), m_layerTreeHostImpl->memoryAllocationLimitBytes());
if (m_layerTreeHostImpl->contentsTexturesPurged())
« no previous file with comments | « cc/single_thread_proxy.h ('k') | cc/skpicture_content_layer_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698