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/cc_export.h" | 18 #include "cc/base/cc_export.h" |
19 #include "cc/output_surface.h" | 19 #include "cc/output_surface.h" |
20 #include "cc/texture_copier.h" | 20 #include "cc/texture_copier.h" |
21 #include "cc/texture_mailbox.h" | 21 #include "cc/texture_mailbox.h" |
22 #include "cc/transferable_resource.h" | 22 #include "cc/transferable_resource.h" |
23 #include "third_party/khronos/GLES2/gl2.h" | 23 #include "third_party/khronos/GLES2/gl2.h" |
24 #include "third_party/skia/include/core/SkBitmap.h" | 24 #include "third_party/skia/include/core/SkBitmap.h" |
25 #include "third_party/skia/include/core/SkCanvas.h" | 25 #include "third_party/skia/include/core/SkCanvas.h" |
26 #include "ui/gfx/size.h" | 26 #include "ui/gfx/size.h" |
27 | 27 |
28 namespace WebKit { | 28 namespace WebKit { |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 base::ThreadChecker thread_checker_; | 390 base::ThreadChecker thread_checker_; |
391 | 391 |
392 scoped_refptr<Fence> current_read_lock_fence_; | 392 scoped_refptr<Fence> current_read_lock_fence_; |
393 | 393 |
394 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 394 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
395 }; | 395 }; |
396 | 396 |
397 } | 397 } |
398 | 398 |
399 #endif // CC_RESOURCE_PROVIDER_H_ | 399 #endif // CC_RESOURCE_PROVIDER_H_ |
OLD | NEW |