Chromium Code Reviews| Index: content/browser/gpu/compositor_util.cc |
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
| index 2e46bdab05bce8b521f79150a1e0140e100400aa..d12068448f3b2568d9602487e152eac3c1e364a5 100644 |
| --- a/content/browser/gpu/compositor_util.cc |
| +++ b/content/browser/gpu/compositor_util.cc |
| @@ -244,15 +244,8 @@ bool IsOneCopyUploadEnabled() { |
| bool IsZeroCopyUploadEnabled() { |
| const base::CommandLine& command_line = |
| *base::CommandLine::ForCurrentProcess(); |
| - // Single-threaded mode in the renderer process (for layout tests) is |
| - // synchronous, which depends on tiles being ready to draw when raster is |
| - // complete. Therefore, it must use one of zero copy, software raster, or |
| - // GPU raster. So we force zero-copy on for the case where software/GPU raster |
| - // is not used. |
| - // TODO(reveman): One-copy can work with sync compositing: crbug.com/490295. |
| - if (command_line.HasSwitch(switches::kDisableThreadedCompositing)) |
| - return true; |
| return command_line.HasSwitch(switches::kEnableZeroCopy); |
| + ; |
|
reveman
2015/06/11 14:19:25
typo?
|
| } |
| bool IsGpuRasterizationEnabled() { |