Index: cc/DelegatedRendererLayerChromium.h |
diff --git a/cc/DelegatedRendererLayerChromium.h b/cc/DelegatedRendererLayerChromium.h |
index 1e464ae36b7dfaf72642f2e25f534539fef96ac0..c351bd29494f80d634252c04de5bd63358df409a 100644 |
--- a/cc/DelegatedRendererLayerChromium.h |
+++ b/cc/DelegatedRendererLayerChromium.h |
@@ -5,7 +5,10 @@ |
#ifndef DelegatedRendererLayerChromium_h |
#define DelegatedRendererLayerChromium_h |
-#include "LayerChromium.h" |
+#include <set> |
+#include "cc/compositor_frame.h" |
+#include "cc/LayerChromium.h" |
+#include "cc/transferable_resource.h" |
namespace cc { |
@@ -15,9 +18,19 @@ public: |
virtual ~DelegatedRendererLayerChromium(); |
virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE; |
+ virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE; |
+ |
+ void setFrameData(const CompositorFrame& frame); |
+ void getRecycledResources(TransferableResourceList* list); |
protected: |
DelegatedRendererLayerChromium(); |
+ |
+private: |
+ bool m_new; |
+ CompositorFrame m_frame; |
+ std::set<unsigned> m_currentResources; |
+ TransferableResourceList m_recyclingResources; |
}; |
} |