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

Unified Diff: cc/resources/gpu_rasterizer.h

Issue 895763002: Add a command-line flag to enable threaded GPU rasterization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/resources/gpu_rasterizer.cc » ('j') | cc/resources/gpu_rasterizer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/gpu_rasterizer.h
diff --git a/cc/resources/gpu_rasterizer.h b/cc/resources/gpu_rasterizer.h
index 206b051dee729ee6b572ef26800f2b54540ad3cd..79a05969543b11b207964b58f52cef13cf3d82dc 100644
--- a/cc/resources/gpu_rasterizer.h
+++ b/cc/resources/gpu_rasterizer.h
@@ -22,11 +22,12 @@ class CC_EXPORT GpuRasterizer : public Rasterizer {
public:
~GpuRasterizer() override;
- static scoped_ptr<GpuRasterizer> Create(ContextProvider* context_provider,
- ResourceProvider* resource_provider,
- bool use_distance_field_text,
- bool tile_prepare_enabled,
- int msaa_sample_count);
+ static scoped_ptr<GpuRasterizer> Create(
+ ContextProvider* context_provider,
+ ResourceProvider* resource_provider,
+ bool use_distance_field_text,
+ bool threaded_gpu_rasterization_enabled,
+ int msaa_sample_count);
PrepareTilesMode GetPrepareTilesMode() override;
void RasterizeTiles(
const TileVector& tiles,
@@ -38,7 +39,7 @@ class CC_EXPORT GpuRasterizer : public Rasterizer {
GpuRasterizer(ContextProvider* context_provider,
ResourceProvider* resource_provider,
bool use_distance_filed_text,
- bool tile_prepare_enabled,
+ bool threaded_gpu_rasterization_enabled,
int msaa_sample_count);
using ScopedResourceWriteLocks =
@@ -55,7 +56,7 @@ class CC_EXPORT GpuRasterizer : public Rasterizer {
SkMultiPictureDraw multi_picture_draw_;
bool use_distance_field_text_;
- bool tile_prepare_enabled_;
+ bool threaded_gpu_rasterization_enabled_;
int msaa_sample_count_;
DISALLOW_COPY_AND_ASSIGN(GpuRasterizer);
« no previous file with comments | « no previous file | cc/resources/gpu_rasterizer.cc » ('j') | cc/resources/gpu_rasterizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698