Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: cc/resources/picture.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/resources/one_copy_tile_task_worker_pool.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « cc/resources/one_copy_tile_task_worker_pool.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698