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