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

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: review fixes. 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 3b2af67921f50fcddcaad5f8f15af4b8061278b5..d472b109cc19a63b0d3a8ebe30d1ef17b0c426ed 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -19,6 +19,7 @@ namespace cc {
class InputHandler;
class LayerTreeHost;
+class PicturePileImpl;
class ResourceUpdateQueue;
class Scheduler;
class ScopedThreadProxy;
@@ -55,6 +56,7 @@ public:
virtual void acquireLayerTextures() OVERRIDE;
virtual void forceSerializeOnSwapBuffers() OVERRIDE;
virtual bool commitPendingForTesting() OVERRIDE;
+ virtual scoped_refptr<PicturePileImpl> capturePicturePile() OVERRIDE;
// LayerTreeHostImplClient implementation
virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE;
@@ -134,6 +136,7 @@ private:
void forceSerializeOnSwapBuffersOnImplThread(CompletionEvent*);
void setNeedsForcedCommitOnImplThread();
void commitPendingOnImplThreadForTesting(CommitPendingRequest* request);
+ void capturePicturePileOnImplThread(CompletionEvent*, scoped_refptr<PicturePileImpl>*);
// Accessed on main thread only.
bool m_animateRequested; // Set only when setNeedsAnimate is called.
« cc/layer_tree_host_unittest.cc ('K') | « cc/test/fake_proxy.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698