| Index: cc/resources/gpu_rasterizer.h
|
| diff --git a/cc/resources/gpu_rasterizer.h b/cc/resources/gpu_rasterizer.h
|
| index 8c75f326d0d22ffd5e1b7cf8e5b686ec613d854d..98fdb1b506cbeee17426028ac497d75d52292a39 100644
|
| --- a/cc/resources/gpu_rasterizer.h
|
| +++ b/cc/resources/gpu_rasterizer.h
|
| @@ -44,6 +44,8 @@ class CC_EXPORT GpuRasterizer : public Rasterizer {
|
| float scale);
|
|
|
| ResourceProvider* resource_provider() { return resource_provider_; }
|
| + void SetMemoryLimits(bool visible, size_t memory_limit_bytes);
|
| + void SetGrCacheLimits(int textures, int texture_bytes);
|
|
|
| private:
|
| GpuRasterizer(ContextProvider* context_provider,
|
| @@ -68,6 +70,9 @@ class CC_EXPORT GpuRasterizer : public Rasterizer {
|
| bool use_distance_field_text_;
|
| bool threaded_gpu_rasterization_enabled_;
|
| int msaa_sample_count_;
|
| + int max_textures_;
|
| + size_t max_texture_bytes_;
|
| + bool default_memory_limit_set_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuRasterizer);
|
| };
|
|
|