| 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 <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
| 18 #include "cc/base/cc_export.h" | 18 #include "cc/base/cc_export.h" |
| 19 #include "cc/output/context_provider.h" | 19 #include "cc/output/context_provider.h" |
| 20 #include "cc/output/output_surface.h" | 20 #include "cc/output/output_surface.h" |
| 21 #include "cc/output/texture_copier.h" | 21 #include "cc/output/texture_copier.h" |
| 22 #include "cc/resources/texture_mailbox.h" | 22 #include "cc/resources/texture_mailbox.h" |
| 23 #include "cc/resources/transferable_resource.h" | 23 #include "cc/resources/transferable_resource.h" |
| 24 #include "third_party/khronos/GLES2/gl2.h" | 24 #include "third_party/khronos/GLES2/gl2.h" |
| 25 #include "third_party/skia/include/core/SkBitmap.h" | 25 #include "third_party/skia/include/core/SkBitmap.h" |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 base::ThreadChecker thread_checker_; | 433 base::ThreadChecker thread_checker_; |
| 434 | 434 |
| 435 scoped_refptr<Fence> current_read_lock_fence_; | 435 scoped_refptr<Fence> current_read_lock_fence_; |
| 436 | 436 |
| 437 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 437 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
| 438 }; | 438 }; |
| 439 | 439 |
| 440 } // namespace cc | 440 } // namespace cc |
| 441 | 441 |
| 442 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ | 442 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ |
| OLD | NEW |