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

Unified Diff: ui/compositor/compositor.cc

Issue 1513733003: Revert of Allow one-copy task tile worker pool to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 5a1c7adf8a701a8c272e34ab329e0eee0a5febe9..cb09ad38f3d42a5ec7154c0e22ece08dbf9d31fa 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -139,8 +139,8 @@
settings.use_property_trees = false;
settings.use_zero_copy = IsUIZeroCopyEnabled();
- if (command_line->HasSwitch(switches::kUIEnableRGBA4444Textures))
- settings.renderer_settings.preferred_tile_format = cc::RGBA_4444;
+ settings.renderer_settings.use_rgba_4444_textures =
+ command_line->HasSwitch(switches::kUIEnableRGBA4444Textures);
// UI compositor always uses partial raster if not using zero-copy. Zero copy
// doesn't currently support partial raster.
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698