| 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 def CustomizeBrowserOptionsForFastPath(options): | |
| 6 """Enables flags needed for bleeding edge rendering fast paths.""" | |
| 7 options.AppendExtraBrowserArgs('--enable-bleeding-edge-rendering-fast-paths') | |
| 8 | |
| 9 def CustomizeBrowserOptionsForSoftwareRasterization(options): | 5 def CustomizeBrowserOptionsForSoftwareRasterization(options): |
| 10 """Enables flags needed for forced software rasterization.""" | 6 """Enables flags needed for forced software rasterization.""" |
| 11 options.AppendExtraBrowserArgs('--disable-gpu-rasterization') | 7 options.AppendExtraBrowserArgs('--disable-gpu-rasterization') |
| 12 | 8 |
| 13 def CustomizeBrowserOptionsForGpuRasterization(options): | 9 def CustomizeBrowserOptionsForGpuRasterization(options): |
| 14 """Enables flags needed for forced GPU rasterization using Ganesh.""" | 10 """Enables flags needed for forced GPU rasterization using Ganesh.""" |
| 15 options.AppendExtraBrowserArgs('--enable-threaded-compositing') | 11 options.AppendExtraBrowserArgs('--enable-threaded-compositing') |
| 16 options.AppendExtraBrowserArgs('--enable-impl-side-painting') | 12 options.AppendExtraBrowserArgs('--enable-impl-side-painting') |
| 17 options.AppendExtraBrowserArgs('--force-gpu-rasterization') | 13 options.AppendExtraBrowserArgs('--force-gpu-rasterization') |
| 18 | 14 |
| 19 def CustomizeBrowserOptionsForSyncScrolling(options): | 15 def CustomizeBrowserOptionsForSyncScrolling(options): |
| 20 """Enables flags needed for synchronous (main thread) scrolling.""" | 16 """Enables flags needed for synchronous (main thread) scrolling.""" |
| 21 options.AppendExtraBrowserArgs('--disable-threaded-scrolling') | 17 options.AppendExtraBrowserArgs('--disable-threaded-scrolling') |
| OLD | NEW |