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_RESOURCE_PROVIDER_H_ | 5 #ifndef CC_RESOURCE_PROVIDER_H_ |
6 #define CC_RESOURCE_PROVIDER_H_ | 6 #define CC_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/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/context_provider.h" | 19 #include "cc/output/context_provider.h" |
20 #include "cc/output_surface.h" | 20 #include "cc/output/output_surface.h" |
21 #include "cc/texture_copier.h" | 21 #include "cc/output/texture_copier.h" |
22 #include "cc/texture_mailbox.h" | 22 #include "cc/texture_mailbox.h" |
23 #include "cc/transferable_resource.h" | 23 #include "cc/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" |
26 #include "third_party/skia/include/core/SkCanvas.h" | 26 #include "third_party/skia/include/core/SkCanvas.h" |
27 #include "ui/gfx/size.h" | 27 #include "ui/gfx/size.h" |
28 | 28 |
29 namespace WebKit { | 29 namespace WebKit { |
30 class WebGraphicsContext3D; | 30 class WebGraphicsContext3D; |
31 } | 31 } |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 base::ThreadChecker thread_checker_; | 391 base::ThreadChecker thread_checker_; |
392 | 392 |
393 scoped_refptr<Fence> current_read_lock_fence_; | 393 scoped_refptr<Fence> current_read_lock_fence_; |
394 | 394 |
395 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 395 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
396 }; | 396 }; |
397 | 397 |
398 } | 398 } |
399 | 399 |
400 #endif // CC_RESOURCE_PROVIDER_H_ | 400 #endif // CC_RESOURCE_PROVIDER_H_ |
OLD | NEW |