Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/test_delegating_output_surface.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/test/test_delegating_output_surface.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698