OLD | NEW |
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 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #if USE(ACCELERATED_COMPOSITING) | 7 #if USE(ACCELERATED_COMPOSITING) |
8 #include "CCDebugRectHistory.h" | 8 #include "CCDebugRectHistory.h" |
9 | 9 |
10 #include "CCDamageTracker.h" | 10 #include "CCDamageTracker.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 void CCDebugRectHistory::saveOccludingRects(const Vector<IntRect>& occludingRect
s) | 112 void CCDebugRectHistory::saveOccludingRects(const Vector<IntRect>& occludingRect
s) |
113 { | 113 { |
114 for (size_t i = 0; i < occludingRects.size(); ++i) | 114 for (size_t i = 0; i < occludingRects.size(); ++i) |
115 m_debugRects.append(CCDebugRect(OccludingRectType, occludingRects[i])); | 115 m_debugRects.append(CCDebugRect(OccludingRectType, occludingRects[i])); |
116 } | 116 } |
117 | 117 |
118 } // namespace cc | 118 } // namespace cc |
119 | 119 |
120 #endif // USE(ACCELERATED_COMPOSITING) | 120 #endif // USE(ACCELERATED_COMPOSITING) |
OLD | NEW |