| 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_PICTURE_PILE_IMPL_H_ | 5 #ifndef CC_RESOURCES_PICTURE_PILE_IMPL_H_ |
| 6 #define CC_PICTURE_PILE_IMPL_H_ | 6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 #include "cc/picture_pile_base.h" | 12 #include "cc/resources/picture_pile_base.h" |
| 13 #include "skia/ext/refptr.h" | 13 #include "skia/ext/refptr.h" |
| 14 #include "third_party/skia/include/core/SkPicture.h" | 14 #include "third_party/skia/include/core/SkPicture.h" |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 struct RenderingStats; | 17 struct RenderingStats; |
| 18 | 18 |
| 19 class CC_EXPORT PicturePileImpl : public PicturePileBase { | 19 class CC_EXPORT PicturePileImpl : public PicturePileBase { |
| 20 public: | 20 public: |
| 21 static scoped_refptr<PicturePileImpl> Create(); | 21 static scoped_refptr<PicturePileImpl> Create(); |
| 22 static scoped_refptr<PicturePileImpl> CreateFromOther( | 22 static scoped_refptr<PicturePileImpl> CreateFromOther( |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // Once instantiated, |clones_for_drawing_| can't be modified. | 79 // Once instantiated, |clones_for_drawing_| can't be modified. |
| 80 // This guarantees thread-safe access during the life | 80 // This guarantees thread-safe access during the life |
| 81 // time of a PicturePileImpl instance. | 81 // time of a PicturePileImpl instance. |
| 82 const ClonesForDrawing clones_for_drawing_; | 82 const ClonesForDrawing clones_for_drawing_; |
| 83 | 83 |
| 84 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); | 84 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace cc | 87 } // namespace cc |
| 88 | 88 |
| 89 #endif // CC_PICTURE_PILE_IMPL_H_ | 89 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ |
| OLD | NEW |