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_resource.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 ResourceUpdateQueue::ResourceUpdateQueue() | 13 ResourceUpdateQueue::ResourceUpdateQueue() |
14 { | 14 { |
15 } | 15 } |
16 | 16 |
17 ResourceUpdateQueue::~ResourceUpdateQueue() | 17 ResourceUpdateQueue::~ResourceUpdateQueue() |
18 { | 18 { |
19 } | 19 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } // namespace cc | 80 } // namespace cc |
OLD | NEW |