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 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class TextureUploader; | 16 class TextureUploader; |
17 | 17 |
18 class CCTextureUpdateControllerClient { | 18 class CCTextureUpdateControllerClient { |
19 public: | 19 public: |
20 virtual void readyToFinalizeTextureUpdates() = 0; | 20 virtual void readyToFinalizeTextureUpdates() = 0; |
21 | 21 |
22 protected: | 22 protected: |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 size_t m_textureUpdatesPerTick; | 68 size_t m_textureUpdatesPerTick; |
69 bool m_firstUpdateAttempt; | 69 bool m_firstUpdateAttempt; |
70 | 70 |
71 private: | 71 private: |
72 DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController); | 72 DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace cc | 75 } // namespace cc |
76 | 76 |
77 #endif // CCTextureUpdateController_h | 77 #endif // CCTextureUpdateController_h |
OLD | NEW |