| OLD | NEW | 
|---|
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ | 
| 6 #define CC_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_LAYER_TREE_HOST_IMPL_H_ | 
| 7 | 7 | 
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" | 
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" | 
| 10 #include "base/time.h" | 10 #include "base/time.h" | 
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 172     virtual void setFullRootLayerDamage() OVERRIDE; | 172     virtual void setFullRootLayerDamage() OVERRIDE; | 
| 173     virtual void setManagedMemoryPolicy(const ManagedMemoryPolicy& policy) OVERR
     IDE; | 173     virtual void setManagedMemoryPolicy(const ManagedMemoryPolicy& policy) OVERR
     IDE; | 
| 174     virtual void enforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy) O
     VERRIDE; | 174     virtual void enforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy) O
     VERRIDE; | 
| 175     virtual bool hasImplThread() const OVERRIDE; | 175     virtual bool hasImplThread() const OVERRIDE; | 
| 176     virtual bool shouldClearRootRenderPass() const OVERRIDE; | 176     virtual bool shouldClearRootRenderPass() const OVERRIDE; | 
| 177     virtual CompositorFrameMetadata makeCompositorFrameMetadata() const OVERRIDE
     ; | 177     virtual CompositorFrameMetadata makeCompositorFrameMetadata() const OVERRIDE
     ; | 
| 178 | 178 | 
| 179     // TileManagerClient implementation. | 179     // TileManagerClient implementation. | 
| 180     virtual void ScheduleManageTiles() OVERRIDE; | 180     virtual void ScheduleManageTiles() OVERRIDE; | 
| 181     virtual void ScheduleCheckForCompletedSetPixels() OVERRIDE; | 181     virtual void ScheduleCheckForCompletedSetPixels() OVERRIDE; | 
|  | 182     virtual void SendTileManagerMemoryStats( | 
|  | 183        size_t memoryRequiredBytes, | 
|  | 184        size_t memoryNiceToHaveBytes, | 
|  | 185        size_t memoryUsedBytes) OVERRIDE; | 
| 182 | 186 | 
| 183     // OutputSurfaceClient implementation. | 187     // OutputSurfaceClient implementation. | 
| 184     virtual void OnVSyncParametersChanged(base::TimeTicks timebase, base::TimeDe
     lta interval) OVERRIDE; | 188     virtual void OnVSyncParametersChanged(base::TimeTicks timebase, base::TimeDe
     lta interval) OVERRIDE; | 
| 185     virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck&) OVE
     RRIDE; | 189     virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck&) OVE
     RRIDE; | 
| 186 | 190 | 
| 187     // Called from LayerTreeImpl. | 191     // Called from LayerTreeImpl. | 
| 188     void OnCanDrawStateChangedForTree(LayerTreeImpl*); | 192     void OnCanDrawStateChangedForTree(LayerTreeImpl*); | 
| 189 | 193 | 
| 190     // Implementation | 194     // Implementation | 
| 191     bool canDraw(); | 195     bool canDraw(); | 
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 406     size_t m_lastSentMemoryUseBytes; | 410     size_t m_lastSentMemoryUseBytes; | 
| 407 | 411 | 
| 408     scoped_ptr<AnimationRegistrar> m_animationRegistrar; | 412     scoped_ptr<AnimationRegistrar> m_animationRegistrar; | 
| 409 | 413 | 
| 410     DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 414     DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 
| 411 }; | 415 }; | 
| 412 | 416 | 
| 413 }  // namespace cc | 417 }  // namespace cc | 
| 414 | 418 | 
| 415 #endif  // CC_LAYER_TREE_HOST_IMPL_H_ | 419 #endif  // CC_LAYER_TREE_HOST_IMPL_H_ | 
| OLD | NEW | 
|---|