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/memory/scoped_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 #include "CCTextureUpdateQueue.h" | 11 #include "cc/texture_update_queue.h" |
12 #include "CCTimer.h" | 12 #include "cc/timer.h" |
13 #include <wtf/OwnPtr.h> | 13 #include <wtf/OwnPtr.h> |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class TextureUploader; | 17 class TextureUploader; |
18 | 18 |
19 class CCTextureUpdateControllerClient { | 19 class CCTextureUpdateControllerClient { |
20 public: | 20 public: |
21 virtual void readyToFinalizeTextureUpdates() = 0; | 21 virtual void readyToFinalizeTextureUpdates() = 0; |
22 | 22 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 size_t m_textureUpdatesPerTick; | 69 size_t m_textureUpdatesPerTick; |
70 bool m_firstUpdateAttempt; | 70 bool m_firstUpdateAttempt; |
71 | 71 |
72 private: | 72 private: |
73 DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController); | 73 DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace cc | 76 } // namespace cc |
77 | 77 |
78 #endif // CCTextureUpdateController_h | 78 #endif // CCTextureUpdateController_h |
OLD | NEW |