| 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 | 8 |
| 9 #include "CCTextureUpdateQueue.h" | 9 #include "CCTextureUpdateQueue.h" |
| 10 | 10 |
| 11 #include "CCPrioritizedTexture.h" |
| 12 |
| 11 namespace cc { | 13 namespace cc { |
| 12 | 14 |
| 13 CCTextureUpdateQueue::CCTextureUpdateQueue() | 15 CCTextureUpdateQueue::CCTextureUpdateQueue() |
| 14 { | 16 { |
| 15 } | 17 } |
| 16 | 18 |
| 17 CCTextureUpdateQueue::~CCTextureUpdateQueue() | 19 CCTextureUpdateQueue::~CCTextureUpdateQueue() |
| 18 { | 20 { |
| 19 } | 21 } |
| 20 | 22 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 68 } |
| 67 | 69 |
| 68 bool CCTextureUpdateQueue::hasMoreUpdates() const | 70 bool CCTextureUpdateQueue::hasMoreUpdates() const |
| 69 { | 71 { |
| 70 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); | 72 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); |
| 71 } | 73 } |
| 72 | 74 |
| 73 } | 75 } |
| 74 | 76 |
| 75 #endif // USE(ACCELERATED_COMPOSITING) | 77 #endif // USE(ACCELERATED_COMPOSITING) |
| OLD | NEW |