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 CCResourceProvider_h | 5 #ifndef CCResourceProvider_h |
6 #define CCResourceProvider_h | 6 #define CCResourceProvider_h |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/hash_tables.h" | |
10 #include "CCGraphicsContext.h" | 8 #include "CCGraphicsContext.h" |
11 #include "GraphicsContext3D.h" | 9 #include "GraphicsContext3D.h" |
12 #include "IntSize.h" | 10 #include "IntSize.h" |
| 11 #include "base/basictypes.h" |
| 12 #include "base/hash_tables.h" |
| 13 #include "cc/texture_copier.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "third_party/skia/include/core/SkCanvas.h" | 15 #include "third_party/skia/include/core/SkCanvas.h" |
15 #include "TextureCopier.h" | |
16 #include <wtf/Deque.h> | 16 #include <wtf/Deque.h> |
17 #include <wtf/OwnPtr.h> | 17 #include <wtf/OwnPtr.h> |
18 #include <wtf/PassOwnPtr.h> | 18 #include <wtf/PassOwnPtr.h> |
19 #include <wtf/PassRefPtr.h> | 19 #include <wtf/PassRefPtr.h> |
20 #include <wtf/RefPtr.h> | 20 #include <wtf/RefPtr.h> |
21 #include <wtf/Vector.h> | 21 #include <wtf/Vector.h> |
22 | 22 |
23 namespace WebKit { | 23 namespace WebKit { |
24 class WebGraphicsContext3D; | 24 class WebGraphicsContext3D; |
25 } | 25 } |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 OwnPtr<TextureUploader> m_textureUploader; | 268 OwnPtr<TextureUploader> m_textureUploader; |
269 OwnPtr<AcceleratedTextureCopier> m_textureCopier; | 269 OwnPtr<AcceleratedTextureCopier> m_textureCopier; |
270 int m_maxTextureSize; | 270 int m_maxTextureSize; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(CCResourceProvider); | 272 DISALLOW_COPY_AND_ASSIGN(CCResourceProvider); |
273 }; | 273 }; |
274 | 274 |
275 } | 275 } |
276 | 276 |
277 #endif | 277 #endif |
OLD | NEW |