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 #ifndef CCTextureUpdateController_h | 5 #ifndef CCTextureUpdateController_h |
6 #define CCTextureUpdateController_h | 6 #define CCTextureUpdateController_h |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/time.h" | 10 #include "base/time.h" |
10 #include "CCTextureUpdateQueue.h" | 11 #include "CCTextureUpdateQueue.h" |
11 #include "CCTimer.h" | 12 #include "CCTimer.h" |
12 #include <wtf/OwnPtr.h> | 13 #include <wtf/OwnPtr.h> |
13 | 14 |
14 namespace cc { | 15 namespace cc { |
15 | 16 |
16 class TextureUploader; | 17 class TextureUploader; |
17 | 18 |
18 class CCTextureUpdateControllerClient { | 19 class CCTextureUpdateControllerClient { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 size_t m_textureUpdatesPerTick; | 69 size_t m_textureUpdatesPerTick; |
69 bool m_firstUpdateAttempt; | 70 bool m_firstUpdateAttempt; |
70 | 71 |
71 private: | 72 private: |
72 DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController); | 73 DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController); |
73 }; | 74 }; |
74 | 75 |
75 } // namespace cc | 76 } // namespace cc |
76 | 77 |
77 #endif // CCTextureUpdateController_h | 78 #endif // CCTextureUpdateController_h |
OLD | NEW |