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

Side by Side Diff: cc/output/overlay_processor.h

Issue 2844483004: Reset the state of the previous frame if overlay processing is skipped. (Closed)
Patch Set: Reset the state of the previous frame if hardware overlay processing is skipped. Created 3 years, 7 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 | « no previous file | cc/output/overlay_processor.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_OUTPUT_OVERLAY_PROCESSOR_H_ 5 #ifndef CC_OUTPUT_OVERLAY_PROCESSOR_H_
6 #define CC_OUTPUT_OVERLAY_PROCESSOR_H_ 6 #define CC_OUTPUT_OVERLAY_PROCESSOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/containers/flat_map.h" 10 #include "base/containers/flat_map.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ResourceProvider* resource_provider, 76 ResourceProvider* resource_provider,
77 RenderPass* render_pass, 77 RenderPass* render_pass,
78 const base::flat_map<int, FilterOperations*>& render_pass_filters, 78 const base::flat_map<int, FilterOperations*>& render_pass_filters,
79 const base::flat_map<int, FilterOperations*>& 79 const base::flat_map<int, FilterOperations*>&
80 render_pass_background_filters, 80 render_pass_background_filters,
81 OverlayCandidateList* overlay_candidates, 81 OverlayCandidateList* overlay_candidates,
82 DCLayerOverlayList* dc_layer_overlays, 82 DCLayerOverlayList* dc_layer_overlays,
83 gfx::Rect* damage_rect); 83 gfx::Rect* damage_rect);
84 // Update |damage_rect| by removing damage casued by |candidates|. 84 // Update |damage_rect| by removing damage casued by |candidates|.
85 void UpdateDamageRect(OverlayCandidateList* candidates, 85 void UpdateDamageRect(OverlayCandidateList* candidates,
86 const gfx::Rect& previous_frame_underlay_rect,
86 gfx::Rect* damage_rect); 87 gfx::Rect* damage_rect);
87 88
88 DCLayerOverlayProcessor dc_processor_; 89 DCLayerOverlayProcessor dc_processor_;
89 90
90 DISALLOW_COPY_AND_ASSIGN(OverlayProcessor); 91 DISALLOW_COPY_AND_ASSIGN(OverlayProcessor);
91 }; 92 };
92 93
93 } // namespace cc 94 } // namespace cc
94 95
95 #endif // CC_OUTPUT_OVERLAY_PROCESSOR_H_ 96 #endif // CC_OUTPUT_OVERLAY_PROCESSOR_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/overlay_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698