Chromium Code Reviews| Index: cc/output/renderer_settings.cc |
| diff --git a/cc/output/renderer_settings.cc b/cc/output/renderer_settings.cc |
| index 7b182784035baf443db0c6608b85a068c8dea35c..f5e3c3a0f50708cc8189b5ef6397c71d18a0b3a3 100644 |
| --- a/cc/output/renderer_settings.cc |
| +++ b/cc/output/renderer_settings.cc |
| @@ -7,6 +7,7 @@ |
| #include <limits> |
| #include "base/logging.h" |
| +#include "cc/resources/platform_color.h" |
| namespace cc { |
| @@ -21,9 +22,9 @@ RendererSettings::RendererSettings() |
| delay_releasing_overlay_resources(false), |
| refresh_rate(60.0), |
| highp_threshold_min(0), |
| - use_rgba_4444_textures(false), |
| texture_id_allocation_chunk_size(64), |
| - use_gpu_memory_buffer_resources(false) {} |
| + use_gpu_memory_buffer_resources(false), |
| + preferred_tile_format(PlatformColor::BestTextureFormat(true)) {} |
|
reveman
2015/12/02 18:27:18
nit: I find calling BestTextureFormat with support
christiank
2015/12/03 12:57:59
I was thinking along the same lines. Fixed.
I thi
|
| RendererSettings::~RendererSettings() { |
| } |