Index: cc/resources/gpu_rasterizer.h |
diff --git a/cc/resources/gpu_rasterizer.h b/cc/resources/gpu_rasterizer.h |
index 8c75f326d0d22ffd5e1b7cf8e5b686ec613d854d..7a11bffcef9a34945b469827412f59721ed62170 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 SetZeroMemoryLimit(); |
+ void SetDefaultMemoryLimit(); |
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 maxTextures_; |
vmiura
2015/04/02 19:12:34
nit: maxTextures_ -> max_textures_. maxTextureByt
sohanjg
2015/04/08 09:00:31
Done.
|
+ size_t maxTextureBytes_; |
+ bool cache_cleared_; |
vmiura
2015/04/02 19:12:34
Instead of cache_cleared_, invert to "bool default
sohanjg
2015/04/08 09:00:31
Done.
|
DISALLOW_COPY_AND_ASSIGN(GpuRasterizer); |
}; |