| 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 CC_RESOURCE_PROVIDER_H_ |
| 6 #define CCResourceProvider_h | 6 #define CC_RESOURCE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "cc/cc_export.h" | 11 #include "cc/cc_export.h" |
| 12 #include "cc/graphics_context.h" | 12 #include "cc/graphics_context.h" |
| 13 #include "cc/texture_copier.h" | 13 #include "cc/texture_copier.h" |
| 14 #include "third_party/khronos/GLES2/gl2.h" | 14 #include "third_party/khronos/GLES2/gl2.h" |
| 15 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
| 16 #include "third_party/skia/include/core/SkCanvas.h" | 16 #include "third_party/skia/include/core/SkCanvas.h" |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 bool m_useShallowFlush; | 275 bool m_useShallowFlush; |
| 276 scoped_ptr<TextureUploader> m_textureUploader; | 276 scoped_ptr<TextureUploader> m_textureUploader; |
| 277 scoped_ptr<AcceleratedTextureCopier> m_textureCopier; | 277 scoped_ptr<AcceleratedTextureCopier> m_textureCopier; |
| 278 int m_maxTextureSize; | 278 int m_maxTextureSize; |
| 279 | 279 |
| 280 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 280 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 } | 283 } |
| 284 | 284 |
| 285 #endif | 285 #endif // CC_RESOURCE_PROVIDER_H_ |
| OLD | NEW |