| 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_PICTURE_H_ | 5 #ifndef CC_RESOURCES_PICTURE_H_ |
| 6 #define CC_RESOURCES_PICTURE_H_ | 6 #define CC_RESOURCES_PICTURE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void GatherPixelRefs(const gfx::Size& tile_grid_info); | 142 void GatherPixelRefs(const gfx::Size& tile_grid_info); |
| 143 | 143 |
| 144 gfx::Rect layer_rect_; | 144 gfx::Rect layer_rect_; |
| 145 skia::RefPtr<SkPicture> picture_; | 145 skia::RefPtr<SkPicture> picture_; |
| 146 | 146 |
| 147 PixelRefMap pixel_refs_; | 147 PixelRefMap pixel_refs_; |
| 148 gfx::Point min_pixel_cell_; | 148 gfx::Point min_pixel_cell_; |
| 149 gfx::Point max_pixel_cell_; | 149 gfx::Point max_pixel_cell_; |
| 150 gfx::Size cell_size_; | 150 gfx::Size cell_size_; |
| 151 | 151 |
| 152 scoped_refptr<base::debug::ConvertableToTraceFormat> | 152 scoped_refptr<base::trace_event::ConvertableToTraceFormat> |
| 153 AsTraceableRasterData(float scale) const; | 153 AsTraceableRasterData(float scale) const; |
| 154 scoped_refptr<base::debug::ConvertableToTraceFormat> | 154 scoped_refptr<base::trace_event::ConvertableToTraceFormat> |
| 155 AsTraceableRecordData() const; | 155 AsTraceableRecordData() const; |
| 156 | 156 |
| 157 friend class base::RefCountedThreadSafe<Picture>; | 157 friend class base::RefCountedThreadSafe<Picture>; |
| 158 friend class PixelRefIterator; | 158 friend class PixelRefIterator; |
| 159 DISALLOW_COPY_AND_ASSIGN(Picture); | 159 DISALLOW_COPY_AND_ASSIGN(Picture); |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 } // namespace cc | 162 } // namespace cc |
| 163 | 163 |
| 164 #endif // CC_RESOURCES_PICTURE_H_ | 164 #endif // CC_RESOURCES_PICTURE_H_ |
| OLD | NEW |