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