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

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

Issue 1452943002: cc: Fix overlay damage tracking bug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add buffer queue update Created 5 years, 1 month 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/direct_renderer.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_DIRECT_RENDERER_H_ 5 #ifndef CC_OUTPUT_DIRECT_RENDERER_H_
6 #define CC_OUTPUT_DIRECT_RENDERER_H_ 6 #define CC_OUTPUT_DIRECT_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // stores the values for the current render pass; in between draws, they 153 // stores the values for the current render pass; in between draws, they
154 // retain the values for the root render pass of the last draw. 154 // retain the values for the root render pass of the last draw.
155 gfx::Rect current_draw_rect_; 155 gfx::Rect current_draw_rect_;
156 gfx::Rect current_viewport_rect_; 156 gfx::Rect current_viewport_rect_;
157 gfx::Size current_surface_size_; 157 gfx::Size current_surface_size_;
158 gfx::Rect current_window_space_viewport_; 158 gfx::Rect current_window_space_viewport_;
159 159
160 private: 160 private:
161 gfx::Vector2d enlarge_pass_texture_amount_; 161 gfx::Vector2d enlarge_pass_texture_amount_;
162 162
163 // Regions that must be drawn in the next frame because they were represented
164 // as CALayers in the current frame.
165 gfx::Rect next_root_damage_rect_;
166
167 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); 163 DISALLOW_COPY_AND_ASSIGN(DirectRenderer);
168 }; 164 };
169 165
170 } // namespace cc 166 } // namespace cc
171 167
172 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ 168 #endif // CC_OUTPUT_DIRECT_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698