OLD | NEW |
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_RASTER_GPU_RASTERIZER_H_ | 5 #ifndef CC_RASTER_GPU_RASTERIZER_H_ |
6 #define CC_RASTER_GPU_RASTERIZER_H_ | 6 #define CC_RASTER_GPU_RASTERIZER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 26 matching lines...) Loading... |
37 GpuRasterizer(ContextProvider* context_provider, | 37 GpuRasterizer(ContextProvider* context_provider, |
38 ResourceProvider* resource_provider, | 38 ResourceProvider* resource_provider, |
39 bool use_distance_filed_text, | 39 bool use_distance_filed_text, |
40 int msaa_sample_count); | 40 int msaa_sample_count); |
41 | 41 |
42 ResourceProvider* resource_provider_; | 42 ResourceProvider* resource_provider_; |
43 | 43 |
44 bool use_distance_field_text_; | 44 bool use_distance_field_text_; |
45 int msaa_sample_count_; | 45 int msaa_sample_count_; |
46 | 46 |
47 friend class GpuTileTaskWorkerPool; | 47 friend class GpuRasterBufferProvider; |
48 DISALLOW_COPY_AND_ASSIGN(GpuRasterizer); | 48 DISALLOW_COPY_AND_ASSIGN(GpuRasterizer); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace cc | 51 } // namespace cc |
52 | 52 |
53 #endif // CC_RASTER_GPU_RASTERIZER_H_ | 53 #endif // CC_RASTER_GPU_RASTERIZER_H_ |
OLD | NEW |