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

Unified Diff: cc/trees/thread_proxy.h

Issue 279013002: Remove CompositeAndReadback from LayerTreeHost(Impl) and the Proxys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-cnr-lth-proxy-renderer: . Created 6 years, 7 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
Index: cc/trees/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index f91599ed703d67e8f23df0d1aea6889d2fefafd3..132266d723be35fadaef1a5f756dae1d656b429e 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -43,8 +43,6 @@ class ThreadProxy : public Proxy,
virtual ~ThreadProxy();
// Proxy implementation
- virtual bool CompositeAndReadback(void* pixels,
- const gfx::Rect& rect) OVERRIDE;
virtual void FinishAllRendering() OVERRIDE;
virtual bool IsStarted() const OVERRIDE;
virtual void SetLayerTreeHostClientReady() OVERRIDE;
@@ -156,17 +154,12 @@ class ThreadProxy : public Proxy,
void SendCommitRequestToImplThreadIfNeeded();
// Called on impl thread.
- struct ReadbackRequest;
struct CommitPendingRequest;
struct SchedulerStateRequest;
- void ForceCommitForReadbackOnImplThread(
- CompletionEvent* begin_main_frame_sent_completion,
- ReadbackRequest* request);
void StartCommitOnImplThread(CompletionEvent* completion,
ResourceUpdateQueue* queue);
void BeginMainFrameAbortedOnImplThread(bool did_handle);
- void RequestReadbackOnImplThread(ReadbackRequest* request);
void FinishAllRenderingOnImplThread(CompletionEvent* completion);
void InitializeImplOnImplThread(CompletionEvent* completion);
void SetLayerTreeHostClientReadyOnImplThread();
@@ -182,9 +175,7 @@ class ThreadProxy : public Proxy,
RendererCapabilities* capabilities);
void FinishGLOnImplThread(CompletionEvent* completion);
void LayerTreeHostClosedOnImplThread(CompletionEvent* completion);
- DrawSwapReadbackResult DrawSwapReadbackInternal(bool forced_draw,
- bool swap_requested,
- bool readback_requested);
+ DrawSwapReadbackResult DrawSwapInternal(bool forced_draw);
void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
void CheckOutputSurfaceStatusOnImplThread();
void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request);
@@ -215,7 +206,6 @@ class ThreadProxy : public Proxy,
bool commit_request_sent_to_impl_thread;
bool started;
- bool in_composite_and_readback;
bool manage_tiles_pending;
bool can_cancel_commit;
bool defer_commits;
@@ -265,9 +255,6 @@ class ThreadProxy : public Proxy,
// ScheduledActionSendBeginMainFrame to be issued.
CompletionEvent* begin_main_frame_sent_completion_event;
- // Set when the main thread is waiting on a readback.
- ReadbackRequest* readback_request;
-
// Set when the main thread is waiting on a commit to complete.
CompletionEvent* commit_completion_event;

Powered by Google App Engine
This is Rietveld 408576698