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

Unified Diff: cc/thread_proxy.h

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/texture_update_queue.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index aab144afaa307268d3e6a1fddc4b0fb72d13b257..17d88e6736d14ee961ebc138875695ed3c7261c1 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -10,20 +10,20 @@
#include "cc/completion_event.h"
#include "cc/layer_tree_host_impl.h"
#include "cc/proxy.h"
+#include "cc/resource_update_controller.h"
#include "cc/scheduler.h"
-#include "cc/texture_update_controller.h"
namespace cc {
class InputHandler;
class LayerTreeHost;
+class ResourceUpdateQueue;
class Scheduler;
class ScopedThreadProxy;
-class TextureUpdateQueue;
class Thread;
class ThreadProxyContextRecreationTimer;
-class ThreadProxy : public Proxy, LayerTreeHostImplClient, SchedulerClient, TextureUpdateControllerClient {
+class ThreadProxy : public Proxy, LayerTreeHostImplClient, SchedulerClient, ResourceUpdateControllerClient {
public:
static scoped_ptr<Proxy> create(LayerTreeHost*);
@@ -72,7 +72,7 @@ public:
virtual void scheduledActionAcquireLayerTexturesForMainThread() OVERRIDE;
virtual void didAnticipatedDrawTimeChange(base::TimeTicks) OVERRIDE;
- // TextureUpdateControllerClient implementation
+ // ResourceUpdateControllerClient implementation
virtual void readyToFinalizeTextureUpdates() OVERRIDE;
private:
@@ -108,7 +108,7 @@ private:
IntRect rect;
};
void forceBeginFrameOnImplThread(CompletionEvent*);
- void beginFrameCompleteOnImplThread(CompletionEvent*, TextureUpdateQueue*);
+ void beginFrameCompleteOnImplThread(CompletionEvent*, ResourceUpdateQueue*);
void beginFrameAbortedOnImplThread();
void requestReadbackOnImplThread(ReadbackRequest*);
void requestStartPageScaleAnimationOnImplThread(IntSize targetPosition, bool useAnchor, float scale, double durationSec);
@@ -164,7 +164,7 @@ private:
// Set when the main thread is waiting on layers to be drawn.
CompletionEvent* m_textureAcquisitionCompletionEventOnImplThread;
- scoped_ptr<TextureUpdateController> m_currentTextureUpdateControllerOnImplThread;
+ scoped_ptr<ResourceUpdateController> m_currentResourceUpdateControllerOnImplThread;
// Set when the next draw should post didCommitAndDrawFrame to the main thread.
bool m_nextFrameIsNewlyCommittedFrameOnImplThread;
« no previous file with comments | « cc/texture_update_queue.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698