| 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 "CCTextureUpdateQueue.h" | 7 #include "cc/texture_update_queue.h" |
| 8 | 8 |
| 9 #include "CCPrioritizedTexture.h" | 9 #include "CCPrioritizedTexture.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 | 12 |
| 13 CCTextureUpdateQueue::CCTextureUpdateQueue() | 13 CCTextureUpdateQueue::CCTextureUpdateQueue() |
| 14 { | 14 { |
| 15 } | 15 } |
| 16 | 16 |
| 17 CCTextureUpdateQueue::~CCTextureUpdateQueue() | 17 CCTextureUpdateQueue::~CCTextureUpdateQueue() |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 { | 64 { |
| 65 return m_copyEntries.takeFirst(); | 65 return m_copyEntries.takeFirst(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 bool CCTextureUpdateQueue::hasMoreUpdates() const | 68 bool CCTextureUpdateQueue::hasMoreUpdates() const |
| 69 { | 69 { |
| 70 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); | 70 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 } | 73 } |
| OLD | NEW |