Index: cc/CCLayerImpl.h |
diff --git a/cc/CCLayerImpl.h b/cc/CCLayerImpl.h |
index 459b76f93062b55d281d083f5b94d70e9c4067eb..ea6582ed2ab2d5505a25a25715a3a9000684826a 100644 |
--- a/cc/CCLayerImpl.h |
+++ b/cc/CCLayerImpl.h |
@@ -7,6 +7,7 @@ |
#include "CCInputHandler.h" |
#include "CCLayerAnimationController.h" |
+#include "CCRenderPass.h" |
#include "CCRenderSurface.h" |
#include "CCResourceProvider.h" |
#include "CCSharedQuadState.h" |
@@ -81,6 +82,10 @@ public: |
virtual CCResourceProvider::ResourceId contentsResourceId() const; |
+ virtual bool hasContributingDelegatedRenderPasses() const { return false; } |
+ virtual CCRenderPass::Id firstContributingRenderPassId() const { return CCRenderPass::Id(0, 0); } |
+ virtual CCRenderPass::Id nextContributingRenderPassId(CCRenderPass::Id) const { return CCRenderPass::Id(0, 0); } |
+ |
// Returns true if this layer has content to draw. |
void setDrawsContent(bool); |
bool drawsContent() const { return m_drawsContent; } |
@@ -89,7 +94,7 @@ public: |
void setForceRenderSurface(bool force) { m_forceRenderSurface = force; } |
// Returns true if any of the layer's descendants has content to draw. |
- bool descendantDrawsContent(); |
+ virtual bool descendantDrawsContent(); |
void setAnchorPoint(const FloatPoint&); |
const FloatPoint& anchorPoint() const { return m_anchorPoint; } |