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

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

Issue 2061993003: Pass responsibility for IOSurface-texture reuse to the gpu process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp85_query_in_use
Patch Set: Rebase. Created 4 years, 6 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/fake_output_surface_client.h ('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 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
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_
OLDNEW
« no previous file with comments | « cc/test/fake_output_surface_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698