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 "CCTextureUpdateQueue.h" | 8 #include "CCTextureUpdateQueue.h" |
9 #include "CCTimer.h" | 9 #include "CCTimer.h" |
10 #include <wtf/Noncopyable.h> | 10 #include <wtf/Noncopyable.h> |
11 #include <wtf/OwnPtr.h> | 11 #include <wtf/OwnPtr.h> |
12 | 12 |
13 namespace WebCore { | 13 namespace cc { |
14 | 14 |
15 class TextureCopier; | 15 class TextureCopier; |
16 class TextureUploader; | 16 class TextureUploader; |
17 | 17 |
18 class CCTextureUpdateControllerClient { | 18 class CCTextureUpdateControllerClient { |
19 public: | 19 public: |
20 virtual void updateTexturesCompleted() = 0; | 20 virtual void updateTexturesCompleted() = 0; |
21 | 21 |
22 protected: | 22 protected: |
23 virtual ~CCTextureUpdateControllerClient() { } | 23 virtual ~CCTextureUpdateControllerClient() { } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 CCResourceProvider* m_resourceProvider; | 59 CCResourceProvider* m_resourceProvider; |
60 TextureCopier* m_copier; | 60 TextureCopier* m_copier; |
61 TextureUploader* m_uploader; | 61 TextureUploader* m_uploader; |
62 double m_monotonicTimeLimit; | 62 double m_monotonicTimeLimit; |
63 bool m_firstUpdateAttempt; | 63 bool m_firstUpdateAttempt; |
64 }; | 64 }; |
65 | 65 |
66 } | 66 } |
67 | 67 |
68 #endif // CCTextureUpdateController_h | 68 #endif // CCTextureUpdateController_h |
OLD | NEW |