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

Side by Side Diff: cc/surfaces/surface_aggregator.h

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Rebase again Created 4 years 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/quads/render_pass_unittest.cc ('k') | cc/surfaces/surface_aggregator.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SURFACES_SURFACE_AGGREGATOR_H_ 5 #ifndef CC_SURFACES_SURFACE_AGGREGATOR_H_
6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_ 6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 RenderPass* dest_render_pass); 86 RenderPass* dest_render_pass);
87 void CopyQuadsToPass( 87 void CopyQuadsToPass(
88 const QuadList& source_quad_list, 88 const QuadList& source_quad_list,
89 const SharedQuadStateList& source_shared_quad_state_list, 89 const SharedQuadStateList& source_shared_quad_state_list,
90 const std::unordered_map<ResourceId, ResourceId>& resource_to_child_map, 90 const std::unordered_map<ResourceId, ResourceId>& resource_to_child_map,
91 const gfx::Transform& target_transform, 91 const gfx::Transform& target_transform,
92 const ClipData& clip_rect, 92 const ClipData& clip_rect,
93 RenderPass* dest_pass, 93 RenderPass* dest_pass,
94 const SurfaceId& surface_id); 94 const SurfaceId& surface_id);
95 gfx::Rect PrewalkTree(const SurfaceId& surface_id, 95 gfx::Rect PrewalkTree(const SurfaceId& surface_id,
96 bool in_moved_pixel_pass, 96 bool in_moved_pixel_surface,
97 int parent_pass, 97 int parent_pass,
98 PrewalkResult* result); 98 PrewalkResult* result);
99 void CopyUndrawnSurfaces(PrewalkResult* prewalk); 99 void CopyUndrawnSurfaces(PrewalkResult* prewalk);
100 void CopyPasses(const CompositorFrame& frame, Surface* surface); 100 void CopyPasses(const CompositorFrame& frame, Surface* surface);
101 101
102 // Remove Surfaces that were referenced before but aren't currently 102 // Remove Surfaces that were referenced before but aren't currently
103 // referenced from the ResourceProvider. 103 // referenced from the ResourceProvider.
104 // Also notifies SurfaceAggregatorClient of newly added and removed 104 // Also notifies SurfaceAggregatorClient of newly added and removed
105 // child surfaces. 105 // child surfaces.
106 void ProcessAddedAndRemovedSurfaces(); 106 void ProcessAddedAndRemovedSurfaces();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 TransferableResourceArray* dest_resource_list_; 173 TransferableResourceArray* dest_resource_list_;
174 174
175 base::WeakPtrFactory<SurfaceAggregator> weak_factory_; 175 base::WeakPtrFactory<SurfaceAggregator> weak_factory_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); 177 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator);
178 }; 178 };
179 179
180 } // namespace cc 180 } // namespace cc
181 181
182 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ 182 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_
OLDNEW
« no previous file with comments | « cc/quads/render_pass_unittest.cc ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698