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> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <list> | 11 #include <list> |
12 #include <memory> | 12 #include <memory> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
19 #include "cc/base/cc_export.h" | 19 #include "cc/cc_export.h" |
20 #include "cc/resources/release_callback_impl.h" | 20 #include "cc/resources/release_callback_impl.h" |
21 #include "cc/resources/resource_format.h" | 21 #include "cc/resources/resource_format.h" |
22 #include "cc/resources/texture_mailbox.h" | 22 #include "cc/resources/texture_mailbox.h" |
23 #include "ui/gfx/geometry/size.h" | 23 #include "ui/gfx/geometry/size.h" |
24 | 24 |
25 namespace media { | 25 namespace media { |
26 class SkCanvasVideoRenderer; | 26 class SkCanvasVideoRenderer; |
27 class VideoFrame; | 27 class VideoFrame; |
28 } | 28 } |
29 | 29 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // Recycle resources so that we can reduce the number of allocations and | 204 // Recycle resources so that we can reduce the number of allocations and |
205 // data transfers. | 205 // data transfers. |
206 ResourceList all_resources_; | 206 ResourceList all_resources_; |
207 | 207 |
208 DISALLOW_COPY_AND_ASSIGN(VideoResourceUpdater); | 208 DISALLOW_COPY_AND_ASSIGN(VideoResourceUpdater); |
209 }; | 209 }; |
210 | 210 |
211 } // namespace cc | 211 } // namespace cc |
212 | 212 |
213 #endif // CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ | 213 #endif // CC_RESOURCES_VIDEO_RESOURCE_UPDATER_H_ |
OLD | NEW |