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 CC_RESOURCES_RESOURCE_PROVIDER_H_ | 5 #ifndef CC_RESOURCES_RESOURCE_PROVIDER_H_ |
6 #define CC_RESOURCES_RESOURCE_PROVIDER_H_ | 6 #define CC_RESOURCES_RESOURCE_PROVIDER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <deque> | 11 #include <deque> |
12 #include <memory> | 12 #include <memory> |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 #include <unordered_map> | 15 #include <unordered_map> |
16 #include <unordered_set> | 16 #include <unordered_set> |
17 #include <utility> | 17 #include <utility> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "base/callback.h" | 20 #include "base/callback.h" |
21 #include "base/macros.h" | 21 #include "base/macros.h" |
22 #include "base/memory/linked_ptr.h" | 22 #include "base/memory/linked_ptr.h" |
23 #include "base/threading/thread_checker.h" | 23 #include "base/threading/thread_checker.h" |
24 #include "base/trace_event/memory_allocator_dump.h" | 24 #include "base/trace_event/memory_allocator_dump.h" |
25 #include "base/trace_event/memory_dump_provider.h" | 25 #include "base/trace_event/memory_dump_provider.h" |
26 #include "cc/base/cc_export.h" | |
27 #include "cc/base/resource_id.h" | 26 #include "cc/base/resource_id.h" |
| 27 #include "cc/cc_export.h" |
28 #include "cc/output/context_provider.h" | 28 #include "cc/output/context_provider.h" |
29 #include "cc/output/output_surface.h" | 29 #include "cc/output/output_surface.h" |
30 #include "cc/output/renderer_settings.h" | 30 #include "cc/output/renderer_settings.h" |
31 #include "cc/resources/release_callback_impl.h" | 31 #include "cc/resources/release_callback_impl.h" |
32 #include "cc/resources/resource_format.h" | 32 #include "cc/resources/resource_format.h" |
33 #include "cc/resources/return_callback.h" | 33 #include "cc/resources/return_callback.h" |
34 #include "cc/resources/shared_bitmap.h" | 34 #include "cc/resources/shared_bitmap.h" |
35 #include "cc/resources/single_release_callback_impl.h" | 35 #include "cc/resources/single_release_callback_impl.h" |
36 #include "cc/resources/texture_mailbox.h" | 36 #include "cc/resources/texture_mailbox.h" |
37 #include "cc/resources/transferable_resource.h" | 37 #include "cc/resources/transferable_resource.h" |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 // Set of resource Ids that would like to be notified about promotion hints. | 784 // Set of resource Ids that would like to be notified about promotion hints. |
785 ResourceIdSet wants_promotion_hints_set_; | 785 ResourceIdSet wants_promotion_hints_set_; |
786 #endif | 786 #endif |
787 | 787 |
788 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 788 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
789 }; | 789 }; |
790 | 790 |
791 } // namespace cc | 791 } // namespace cc |
792 | 792 |
793 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ | 793 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ |
OLD | NEW |