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 |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "cc/resources/release_callback_impl.h" | 30 #include "cc/resources/release_callback_impl.h" |
31 #include "cc/resources/resource_format.h" | 31 #include "cc/resources/resource_format.h" |
32 #include "cc/resources/return_callback.h" | 32 #include "cc/resources/return_callback.h" |
33 #include "cc/resources/shared_bitmap.h" | 33 #include "cc/resources/shared_bitmap.h" |
34 #include "cc/resources/single_release_callback_impl.h" | 34 #include "cc/resources/single_release_callback_impl.h" |
35 #include "cc/resources/texture_mailbox.h" | 35 #include "cc/resources/texture_mailbox.h" |
36 #include "cc/resources/transferable_resource.h" | 36 #include "cc/resources/transferable_resource.h" |
37 #include "third_party/khronos/GLES2/gl2.h" | 37 #include "third_party/khronos/GLES2/gl2.h" |
38 #include "third_party/khronos/GLES2/gl2ext.h" | 38 #include "third_party/khronos/GLES2/gl2ext.h" |
39 #include "third_party/skia/include/core/SkBitmap.h" | 39 #include "third_party/skia/include/core/SkBitmap.h" |
40 #include "third_party/skia/include/core/SkCanvas.h" | |
41 #include "ui/gfx/geometry/size.h" | 40 #include "ui/gfx/geometry/size.h" |
42 #include "ui/gfx/gpu_memory_buffer.h" | 41 #include "ui/gfx/gpu_memory_buffer.h" |
43 | 42 |
44 class GrContext; | 43 class GrContext; |
45 class GrSurface; | 44 class GrSurface; |
46 | 45 |
47 namespace gpu { | 46 namespace gpu { |
48 class GpuMemoryBufferManager; | 47 class GpuMemoryBufferManager; |
49 namespace gles { | 48 namespace gles { |
50 class GLES2Interface; | 49 class GLES2Interface; |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 // A process-unique ID used for disambiguating memory dumps from different | 680 // A process-unique ID used for disambiguating memory dumps from different |
682 // resource providers. | 681 // resource providers. |
683 int tracing_id_; | 682 int tracing_id_; |
684 | 683 |
685 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 684 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
686 }; | 685 }; |
687 | 686 |
688 } // namespace cc | 687 } // namespace cc |
689 | 688 |
690 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ | 689 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ |
OLD | NEW |