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