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

Unified Diff: cc/trees/thread_proxy.h

Issue 1194743002: cc: Remove ResourceUpdateQueue and ResourceUpdateController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resourcequeue: header Created 5 years, 6 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/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index e8a791b927ef49fa43f239738ba5cb4867838558..ef13596f213bba40dbd39c9a57ab0a7a55ac5c86 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -13,7 +13,6 @@
#include "cc/animation/animation_events.h"
#include "cc/base/completion_event.h"
#include "cc/base/delayed_unique_notifier.h"
-#include "cc/resources/resource_update_controller.h"
#include "cc/scheduler/commit_earlyout_reason.h"
#include "cc/scheduler/scheduler.h"
#include "cc/trees/layer_tree_host_impl.h"
@@ -31,14 +30,12 @@ class ContextProvider;
class InputHandlerClient;
class LayerTreeHost;
class PrioritizedResourceManager;
-class ResourceUpdateQueue;
class Scheduler;
class ScopedThreadProxy;
class CC_EXPORT ThreadProxy : public Proxy,
- NON_EXPORTED_BASE(LayerTreeHostImplClient),
- NON_EXPORTED_BASE(SchedulerClient),
- NON_EXPORTED_BASE(ResourceUpdateControllerClient) {
+ NON_EXPORTED_BASE(LayerTreeHostImplClient),
+ NON_EXPORTED_BASE(SchedulerClient) {
public:
static scoped_ptr<Proxy> Create(
LayerTreeHost* layer_tree_host,
@@ -115,8 +112,6 @@ class CC_EXPORT ThreadProxy : public Proxy,
// Set when the main thread is waiting on a pending tree activation.
CompletionEvent* completion_event_for_commit_held_on_tree_activation;
- scoped_ptr<ResourceUpdateController> current_resource_update_controller;
-
// Set when the next draw should post DidCommitAndDrawFrame to the main
// thread.
bool next_frame_is_newly_committed_frame;
@@ -170,7 +165,6 @@ class CC_EXPORT ThreadProxy : public Proxy,
void MainThreadHasStoppedFlinging() override;
void Start() override;
void Stop() override;
- size_t MaxPartialTextureUpdates() const override;
void ForceSerializeOnSwapBuffers() override;
bool SupportsImplScrolling() const override;
void SetDebugState(const LayerTreeDebugState& debug_state) override;
@@ -227,16 +221,12 @@ class CC_EXPORT ThreadProxy : public Proxy,
void ScheduledActionBeginOutputSurfaceCreation() override;
void ScheduledActionPrepareTiles() override;
void ScheduledActionInvalidateOutputSurface() override;
- void DidAnticipatedDrawTimeChange(base::TimeTicks time) override;
base::TimeDelta DrawDurationEstimate() override;
base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
base::TimeDelta CommitToActivateDurationEstimate() override;
void SendBeginFramesToChildren(const BeginFrameArgs& args) override;
void SendBeginMainFrameNotExpectedSoon() override;
- // ResourceUpdateControllerClient implementation
- void ReadyToFinalizeTextureUpdates() override;
-
protected:
ThreadProxy(
LayerTreeHost* layer_tree_host,
@@ -264,8 +254,7 @@ class CC_EXPORT ThreadProxy : public Proxy,
// Called on impl thread.
struct SchedulerStateRequest;
- void StartCommitOnImplThread(CompletionEvent* completion,
- ResourceUpdateQueue* queue);
+ void StartCommitOnImplThread(CompletionEvent* completion);
void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason);
void FinishAllRenderingOnImplThread(CompletionEvent* completion);
void InitializeImplOnImplThread(CompletionEvent* completion);
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698