Commit 035c3fb3 authored by vmiura's avatar vmiura Committed by Commit bot

Force software rasterization on ThreadTimesCompositorCases benchmark.

compositor-perf team is using these benchmarks for tracking compositor
performance primarily in software raster path, so forcing software raster.

BUG=407927

Review URL: https://codereview.chromium.org/516623002

Cr-Commit-Position: refs/heads/master@{#292427}
parent 7aa72c87
...@@ -6,6 +6,9 @@ def CustomizeBrowserOptionsForFastPath(options): ...@@ -6,6 +6,9 @@ def CustomizeBrowserOptionsForFastPath(options):
"""Enables flags needed for bleeding edge rendering fast paths.""" """Enables flags needed for bleeding edge rendering fast paths."""
options.AppendExtraBrowserArgs('--enable-bleeding-edge-rendering-fast-paths') options.AppendExtraBrowserArgs('--enable-bleeding-edge-rendering-fast-paths')
def CustomizeBrowserOptionsForSoftwareRasterization(options):
"""Enables flags needed for forced software rasterization."""
options.AppendExtraBrowserArgs('--disable-gpu-rasterization')
def CustomizeBrowserOptionsForGpuRasterization(options): def CustomizeBrowserOptionsForGpuRasterization(options):
"""Enables flags needed for forced GPU rasterization using Ganesh.""" """Enables flags needed for forced GPU rasterization using Ganesh."""
......
...@@ -54,11 +54,13 @@ class ThreadTimesSimpleMobileSites(benchmark.Benchmark): ...@@ -54,11 +54,13 @@ class ThreadTimesSimpleMobileSites(benchmark.Benchmark):
class ThreadTimesCompositorCases(benchmark.Benchmark): class ThreadTimesCompositorCases(benchmark.Benchmark):
"""Measures timeline metrics while performing smoothness action on """Measures timeline metrics while performing smoothness action on
tough compositor cases. tough compositor cases, using software rasterization.
http://www.chromium.org/developers/design-documents/rendering-benchmarks""" http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
test = thread_times.ThreadTimes test = thread_times.ThreadTimes
page_set = page_sets.ToughCompositorCasesPageSet page_set = page_sets.ToughCompositorCasesPageSet
def CustomizeBrowserOptions(self, options):
silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options)
@benchmark.Enabled('android') @benchmark.Enabled('android')
class ThreadTimesPolymer(benchmark.Benchmark): class ThreadTimesPolymer(benchmark.Benchmark):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment