Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 def CustomizeBrowserOptionsForSoftwareRasterization(options): | 6 def CustomizeBrowserOptionsForSoftwareRasterization(options): |
| 7 """Enables flags needed for forced software rasterization.""" | 7 """Enables flags needed for forced software rasterization.""" |
| 8 options.AppendExtraBrowserArgs('--disable-gpu-rasterization') | 8 options.AppendExtraBrowserArgs('--disable-gpu-rasterization') |
| 9 | 9 |
| 10 | 10 |
| 11 def CustomizeBrowserOptionsForGpuRasterization(options): | 11 def CustomizeBrowserOptionsForGpuRasterization(options): |
| 12 """Enables flags needed for forced GPU rasterization using Ganesh.""" | 12 """Enables flags needed for forced GPU rasterization using Ganesh.""" |
| 13 options.AppendExtraBrowserArgs('--enable-threaded-compositing') | 13 options.AppendExtraBrowserArgs('--enable-threaded-compositing') |
|
danakj
2016/09/26 21:39:29
Ditto
wkorman
2016/09/26 22:18:54
Done.
| |
| 14 options.AppendExtraBrowserArgs('--enable-impl-side-painting') | |
| 15 options.AppendExtraBrowserArgs('--force-gpu-rasterization') | 14 options.AppendExtraBrowserArgs('--force-gpu-rasterization') |
| 16 | 15 |
| 17 | 16 |
| 18 def CustomizeBrowserOptionsForSyncScrolling(options): | 17 def CustomizeBrowserOptionsForSyncScrolling(options): |
| 19 """Enables flags needed for synchronous (main thread) scrolling.""" | 18 """Enables flags needed for synchronous (main thread) scrolling.""" |
| 20 options.AppendExtraBrowserArgs('--disable-threaded-scrolling') | 19 options.AppendExtraBrowserArgs('--disable-threaded-scrolling') |
| 21 | 20 |
| 22 def CustomizeBrowserOptionsForThreadTimes(options): | 21 def CustomizeBrowserOptionsForThreadTimes(options): |
| 23 """Disables options known to cause noise in thread times""" | 22 """Disables options known to cause noise in thread times""" |
| 24 # Remove once crbug.com/621128 is fixed. | 23 # Remove once crbug.com/621128 is fixed. |
| 25 options.AppendExtraBrowserArgs('--disable-top-sites') | 24 options.AppendExtraBrowserArgs('--disable-top-sites') |
| OLD | NEW |