Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 42e51cb891e32b0251b1e7436b49f36d7b30413a..c2ff3a3060930634e159cd8bcc4656b5bf98af3e 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -139,6 +139,9 @@ Compositor::Compositor(gfx::AcceleratedWidget widget, |
settings.use_zero_copy = IsUIZeroCopyEnabled(); |
settings.use_one_copy = IsUIOneCopyEnabled(); |
+ settings.renderer_settings.use_rgba_4444_textures = |
+ command_line->HasSwitch(switches::kUIEnableRGBA4444Textures); |
+ |
// Use PERSISTENT_MAP memory buffers to support partial tile raster for |
// software raster into GpuMemoryBuffers. |
gfx::BufferUsage usage = gfx::BufferUsage::PERSISTENT_MAP; |