OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ | 5 #ifndef CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ |
6 #define CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ | 6 #define CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <list> | 11 #include <list> |
9 #include <vector> | 12 #include <vector> |
10 | 13 |
11 #include "base/basictypes.h" | 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 17 #include "base/time/time.h" |
15 #include "cc/base/cc_export.h" | 18 #include "cc/base/cc_export.h" |
16 #include "cc/resources/release_callback_impl.h" | 19 #include "cc/resources/release_callback_impl.h" |
17 #include "cc/resources/resource_format.h" | 20 #include "cc/resources/resource_format.h" |
18 #include "cc/resources/texture_mailbox.h" | 21 #include "cc/resources/texture_mailbox.h" |
19 #include "ui/gfx/geometry/size.h" | 22 #include "ui/gfx/geometry/size.h" |
20 | 23 |
21 namespace media { | 24 namespace media { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // Recycle resources so that we can reduce the number of allocations and | 141 // Recycle resources so that we can reduce the number of allocations and |
139 // data transfers. | 142 // data transfers. |
140 ResourceList all_resources_; | 143 ResourceList all_resources_; |
141 | 144 |
142 DISALLOW_COPY_AND_ASSIGN(VideoResourceUpdater); | 145 DISALLOW_COPY_AND_ASSIGN(VideoResourceUpdater); |
143 }; | 146 }; |
144 | 147 |
145 } // namespace cc | 148 } // namespace cc |
146 | 149 |
147 #endif // CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ | 150 #endif // CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ |
OLD | NEW |