Index: cc/layer_tree_host.h |
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h |
index a693070f868579849b8c455261247ff39d83ab4a..b32c11745ecb71f6221e1325b33cd0ffa1badbbe 100644 |
--- a/cc/layer_tree_host.h |
+++ b/cc/layer_tree_host.h |
@@ -69,6 +69,7 @@ struct CC_EXPORT RendererCapabilities { |
bool usingDiscardBackbuffer; |
bool usingEglImage; |
bool allowPartialTextureUpdates; |
+ bool usingOffscreenContext3d; |
int maxTextureSize; |
}; |
@@ -82,9 +83,8 @@ public: |
// Returns true if any LayerTreeHost is alive. |
static bool anyLayerTreeHostInstanceExists(); |
- static bool needsFilterContext() { return s_needsFilterContext; } |
- static void setNeedsFilterContext(bool needsFilterContext) { s_needsFilterContext = needsFilterContext; } |
- bool needsSharedContext() const { return needsFilterContext() || settings().acceleratePainting; } |
+ void setNeedsFilterContext() { m_needsFilterContext = true; } |
+ bool needsOffscreenContext() const { return m_needsFilterContext || settings().acceleratePainting; } |
// LayerTreeHost interface to Proxy. |
void willBeginFrame() { m_client->willBeginFrame(); } |
@@ -229,6 +229,7 @@ private: |
bool m_animating; |
bool m_needsFullTreeSync; |
+ bool m_needsFilterContext; |
base::CancelableClosure m_prepaintCallback; |
@@ -273,8 +274,6 @@ private: |
scoped_ptr<AnimationRegistrar> m_animationRegistrar; |
- static bool s_needsFilterContext; |
- |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
}; |