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 |
| 9 |
| 10 def CustomizeBrowserOptionsForGpuRasterization(options): |
| 11 """Enables flags needed for forced GPU rasterization using Ganesh.""" |
| 12 options.AppendExtraBrowserArgs('--enable-threaded-compositing') |
| 13 options.AppendExtraBrowserArgs('--force-compositing-mode') |
| 14 options.AppendExtraBrowserArgs('--enable-impl-side-painting') |
| 15 options.AppendExtraBrowserArgs('--force-gpu-rasterization') |
OLD | NEW |