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 namespace WebCore { | 11 namespace cc { |
12 | 12 |
13 CCTextureUpdateQueue::CCTextureUpdateQueue() | 13 CCTextureUpdateQueue::CCTextureUpdateQueue() |
14 { | 14 { |
15 } | 15 } |
16 | 16 |
17 CCTextureUpdateQueue::~CCTextureUpdateQueue() | 17 CCTextureUpdateQueue::~CCTextureUpdateQueue() |
18 { | 18 { |
19 } | 19 } |
20 | 20 |
21 void CCTextureUpdateQueue::appendFullUpload(TextureUploader::Parameters upload) | 21 void CCTextureUpdateQueue::appendFullUpload(TextureUploader::Parameters upload) |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 55 } |
56 | 56 |
57 bool CCTextureUpdateQueue::hasMoreUpdates() const | 57 bool CCTextureUpdateQueue::hasMoreUpdates() const |
58 { | 58 { |
59 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); | 59 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); |
60 } | 60 } |
61 | 61 |
62 } | 62 } |
63 | 63 |
64 #endif // USE(ACCELERATED_COMPOSITING) | 64 #endif // USE(ACCELERATED_COMPOSITING) |
OLD | NEW |