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

Unified Diff: cc/thread_proxy.h

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resubmitting, empty files in the review. Created 7 years, 12 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/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 5320ee2accd79da56aca971ed7ce3838c101c8d8..2e7f26edd3c7c9efa5e93b57c7f38968a52618a9 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -19,6 +19,8 @@ namespace cc {
class InputHandler;
class LayerTreeHost;
+class PictureLayer;
+class PicturePileImpl;
class ResourceUpdateQueue;
class Scheduler;
class ScopedThreadProxy;
@@ -55,6 +57,7 @@ public:
virtual void acquireLayerTextures() OVERRIDE;
virtual void forceSerializeOnSwapBuffers() OVERRIDE;
virtual bool commitPendingForTesting() OVERRIDE;
+ virtual scoped_refptr<PicturePileImpl> capturePicturePile(const PictureLayer* layer) OVERRIDE;
// LayerTreeHostImplClient implementation
virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE;
@@ -134,6 +137,7 @@ private:
void forceSerializeOnSwapBuffersOnImplThread(CompletionEvent*);
void setNeedsForcedCommitOnImplThread();
void commitPendingOnImplThreadForTesting(CommitPendingRequest* request);
+ void capturePicturePileOnImplThread(int id, CompletionEvent*, scoped_refptr<PicturePileImpl>*);
// Accessed on main thread only.
bool m_animateRequested; // Set only when setNeedsAnimate is called.

Powered by Google App Engine
This is Rietveld 408576698