| OLD | NEW |
| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void HandleSurfaceQuad(const SurfaceDrawQuad* surface_quad, | 43 void HandleSurfaceQuad(const SurfaceDrawQuad* surface_quad, |
| 44 RenderPass* dest_pass); | 44 RenderPass* dest_pass); |
| 45 void CopySharedQuadState(const SharedQuadState* source_sqs, | 45 void CopySharedQuadState(const SharedQuadState* source_sqs, |
| 46 const gfx::Transform& content_to_target_transform, | 46 const gfx::Transform& content_to_target_transform, |
| 47 RenderPass* dest_render_pass); | 47 RenderPass* dest_render_pass); |
| 48 void CopyQuadsToPass(const QuadList& source_quad_list, | 48 void CopyQuadsToPass(const QuadList& source_quad_list, |
| 49 const SharedQuadStateList& source_shared_quad_state_list, | 49 const SharedQuadStateList& source_shared_quad_state_list, |
| 50 const gfx::Transform& content_to_target_transform, | 50 const gfx::Transform& content_to_target_transform, |
| 51 RenderPass* dest_pass, | 51 RenderPass* dest_pass, |
| 52 SurfaceId surface_id); | 52 SurfaceId surface_id); |
| 53 void CopyPasses(const RenderPassList& source_pass_list, | 53 void CopyPasses(const DelegatedFrameData* frame_data, Surface* surface); |
| 54 const Surface* surface); | |
| 55 | 54 |
| 56 bool TakeResources(Surface* surface, | 55 bool TakeResources(Surface* surface, |
| 57 const DelegatedFrameData* frame_data, | 56 const DelegatedFrameData* frame_data, |
| 58 RenderPassList* render_pass_list); | 57 RenderPassList* render_pass_list); |
| 59 int ChildIdForSurface(Surface* surface); | 58 int ChildIdForSurface(Surface* surface); |
| 60 gfx::Rect DamageRectForSurface(const Surface* surface, | 59 gfx::Rect DamageRectForSurface(const Surface* surface, |
| 61 const RenderPass& source); | 60 const RenderPass& source); |
| 62 | 61 |
| 63 SurfaceManager* manager_; | 62 SurfaceManager* manager_; |
| 64 ResourceProvider* provider_; | 63 ResourceProvider* provider_; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 90 | 89 |
| 91 // Resource list for the aggregated frame. | 90 // Resource list for the aggregated frame. |
| 92 TransferableResourceArray* dest_resource_list_; | 91 TransferableResourceArray* dest_resource_list_; |
| 93 | 92 |
| 94 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); | 93 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace cc | 96 } // namespace cc |
| 98 | 97 |
| 99 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ | 98 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ |
| OLD | NEW |