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_TREES_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <bitset> | 10 #include <bitset> |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 base::TimeDelta interval) override; | 362 base::TimeDelta interval) override; |
363 void SetBeginFrameSource(BeginFrameSource* source) override; | 363 void SetBeginFrameSource(BeginFrameSource* source) override; |
364 void SetNeedsRedrawRect(const gfx::Rect& rect) override; | 364 void SetNeedsRedrawRect(const gfx::Rect& rect) override; |
365 void SetExternalTilePriorityConstraints( | 365 void SetExternalTilePriorityConstraints( |
366 const gfx::Rect& viewport_rect, | 366 const gfx::Rect& viewport_rect, |
367 const gfx::Transform& transform) override; | 367 const gfx::Transform& transform) override; |
368 void DidLoseOutputSurface() override; | 368 void DidLoseOutputSurface() override; |
369 void DidSwapBuffersComplete() override; | 369 void DidSwapBuffersComplete() override; |
370 void DidReceiveTextureInUseResponses( | 370 void DidReceiveTextureInUseResponses( |
371 const gpu::TextureInUseResponses& responses) override; | 371 const gpu::TextureInUseResponses& responses) override; |
372 void ReclaimResources(const CompositorFrameAck* ack) override; | 372 void ReclaimResources(const ReturnedResourceArray& resources) override; |
373 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override; | 373 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override; |
374 void SetTreeActivationCallback(const base::Closure& callback) override; | 374 void SetTreeActivationCallback(const base::Closure& callback) override; |
375 void OnDraw(const gfx::Transform& transform, | 375 void OnDraw(const gfx::Transform& transform, |
376 const gfx::Rect& viewport, | 376 const gfx::Rect& viewport, |
377 const gfx::Rect& clip, | 377 const gfx::Rect& clip, |
378 bool resourceless_software_draw) override; | 378 bool resourceless_software_draw) override; |
379 | 379 |
380 // LayerTreeMutatorClient. | 380 // LayerTreeMutatorClient. |
381 void SetNeedsMutate() override; | 381 void SetNeedsMutate() override; |
382 | 382 |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 | 849 |
850 std::unique_ptr<PendingTreeDurationHistogramTimer> | 850 std::unique_ptr<PendingTreeDurationHistogramTimer> |
851 pending_tree_duration_timer_; | 851 pending_tree_duration_timer_; |
852 | 852 |
853 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 853 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
854 }; | 854 }; |
855 | 855 |
856 } // namespace cc | 856 } // namespace cc |
857 | 857 |
858 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 858 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |