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 #include "cc/resource_update_queue.h" | 7 #include "cc/resource_update_queue.h" |
8 | 8 |
9 #include "cc/prioritized_texture.h" | 9 #include "cc/prioritized_texture.h" |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 TextureCopier::Parameters first = m_copyEntries.front(); | 70 TextureCopier::Parameters first = m_copyEntries.front(); |
71 m_copyEntries.pop_front(); | 71 m_copyEntries.pop_front(); |
72 return first; | 72 return first; |
73 } | 73 } |
74 | 74 |
75 bool ResourceUpdateQueue::hasMoreUpdates() const | 75 bool ResourceUpdateQueue::hasMoreUpdates() const |
76 { | 76 { |
77 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); | 77 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); |
78 } | 78 } |
79 | 79 |
80 } | 80 } // namespace cc |
OLD | NEW |