Chromium Code Reviews| 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 "cc/layers/picture_layer_impl.h" | 5 #include "cc/layers/picture_layer_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 #include <limits> | 9 #include <limits> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 bool PictureLayerImpl::IsOnActiveOrPendingTree() const { | 1220 bool PictureLayerImpl::IsOnActiveOrPendingTree() const { |
| 1221 return !layer_tree_impl()->IsRecycleTree(); | 1221 return !layer_tree_impl()->IsRecycleTree(); |
| 1222 } | 1222 } |
| 1223 | 1223 |
| 1224 bool PictureLayerImpl::HasValidTilePriorities() const { | 1224 bool PictureLayerImpl::HasValidTilePriorities() const { |
| 1225 return IsOnActiveOrPendingTree() && IsDrawnRenderSurfaceLayerListMember(); | 1225 return IsOnActiveOrPendingTree() && IsDrawnRenderSurfaceLayerListMember(); |
| 1226 } | 1226 } |
| 1227 | 1227 |
| 1228 Region PictureLayerImpl::GetInvalidationRegion() { | |
|
danakj
2015/02/26 23:53:05
functions in the same order as they appear in the
daplatz
2015/02/27 11:04:56
Acknowledged.
| |
| 1229 return invalidation_; | |
| 1230 } | |
| 1231 | |
| 1228 } // namespace cc | 1232 } // namespace cc |
| OLD | NEW |