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 void CommitVSyncParameters(base::TimeTicks timebase, | 362 void CommitVSyncParameters(base::TimeTicks timebase, |
363 base::TimeDelta interval) override; | 363 base::TimeDelta interval) override; |
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( |
| 373 const gpu::TextureInUseResponses& responses) override; |
372 void ReclaimResources(const CompositorFrameAck* ack) override; | 374 void ReclaimResources(const CompositorFrameAck* ack) override; |
373 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override; | 375 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override; |
374 void SetTreeActivationCallback(const base::Closure& callback) override; | 376 void SetTreeActivationCallback(const base::Closure& callback) override; |
375 void OnDraw(const gfx::Transform& transform, | 377 void OnDraw(const gfx::Transform& transform, |
376 const gfx::Rect& viewport, | 378 const gfx::Rect& viewport, |
377 const gfx::Rect& clip, | 379 const gfx::Rect& clip, |
378 bool resourceless_software_draw) override; | 380 bool resourceless_software_draw) override; |
379 | 381 |
380 // LayerTreeMutatorClient. | 382 // LayerTreeMutatorClient. |
381 void SetNeedsMutate() override; | 383 void SetNeedsMutate() override; |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 fixed_raster_scale_attempted_scale_change_history_; | 869 fixed_raster_scale_attempted_scale_change_history_; |
868 std::unique_ptr<PendingTreeDurationHistogramTimer> | 870 std::unique_ptr<PendingTreeDurationHistogramTimer> |
869 pending_tree_duration_timer_; | 871 pending_tree_duration_timer_; |
870 | 872 |
871 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 873 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
872 }; | 874 }; |
873 | 875 |
874 } // namespace cc | 876 } // namespace cc |
875 | 877 |
876 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 878 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |