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

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

Issue 1130303004: cc: Remove unused Tile ctor parameter (raster_source). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/layers/picture_layer_impl.cc ('k') | cc/resources/picture_layer_tiling.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_GPU_RASTERIZER_H_ 5 #ifndef CC_RESOURCES_GPU_RASTERIZER_H_
6 #define CC_RESOURCES_GPU_RASTERIZER_H_ 6 #define CC_RESOURCES_GPU_RASTERIZER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 #include "cc/resources/resource_pool.h" 11 #include "cc/resources/resource_pool.h"
12 #include "cc/resources/tile.h" 12 #include "cc/resources/tile.h"
13 #include "third_party/skia/include/core/SkMultiPictureDraw.h" 13 #include "third_party/skia/include/core/SkMultiPictureDraw.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 class ContextProvider; 17 class ContextProvider;
18 class ResourceProvider; 18 class ResourceProvider;
19 class RasterSource;
19 20
20 class CC_EXPORT GpuRasterizer { 21 class CC_EXPORT GpuRasterizer {
21 public: 22 public:
22 ~GpuRasterizer(); 23 ~GpuRasterizer();
23 24
24 void RasterizeSource(ResourceProvider::ScopedWriteLockGr* write_lock, 25 void RasterizeSource(ResourceProvider::ScopedWriteLockGr* write_lock,
25 const RasterSource* raster_source, 26 const RasterSource* raster_source,
26 const gfx::Rect& rect, 27 const gfx::Rect& rect,
27 float scale); 28 float scale);
28 29
(...skipping 10 matching lines...) Expand all
39 bool use_distance_field_text_; 40 bool use_distance_field_text_;
40 int msaa_sample_count_; 41 int msaa_sample_count_;
41 42
42 friend class GpuTileTaskWorkerPool; 43 friend class GpuTileTaskWorkerPool;
43 DISALLOW_COPY_AND_ASSIGN(GpuRasterizer); 44 DISALLOW_COPY_AND_ASSIGN(GpuRasterizer);
44 }; 45 };
45 46
46 } // namespace cc 47 } // namespace cc
47 48
48 #endif // CC_RESOURCES_GPU_RASTERIZER_H_ 49 #endif // CC_RESOURCES_GPU_RASTERIZER_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698