aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@google.com>2015-02-25 08:16:19 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-25 08:16:19 -0800
commitee2a3eaf996826ec603748c7f79d4d6b5cf0ecc3 (patch)
tree4d86b9629f92857b2d6ab1f2d2f8fffb477ff128
parentfbe0edfec4fed2a09e12b049d527d280f16e75b3 (diff)
Revert of Default SK_ANGLE to true on Windows, run angle whenever possible on bots. (patchset #3 id:40001 of https://codereview.chromium.org/946933006/)
Reason for revert: Needs bot upgrades. Original issue's description: > Default SK_ANGLE to true on Windows, run angle whenever possible on bots. > > nanobench doesn't need an update. It uses the default for --config, > which includes angle. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/88ec329b580a081d9d56cbcaad0ee46cb941c849 TBR=bsalomon@google.com,mtklein@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/954243002
-rw-r--r--gyp/common_variables.gypi3
-rw-r--r--tools/dm_flags.json23
-rwxr-xr-xtools/dm_flags.py5
3 files changed, 24 insertions, 7 deletions
diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi
index 3c9aae5412..97501871a9 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -83,10 +83,8 @@
}],
[ 'skia_os == "win"', {
'os_posix%': 0,
- 'skia_angle%': 1,
}, {
'os_posix%': 1,
- 'skia_angle%': 0,
}],
[ 'skia_os in ["linux"]', {
'skia_poppler_enabled%': 1,
@@ -149,6 +147,7 @@
'skia_android_path_rendering%': 0,
'skia_resource_cache_mb_limit%': 0,
'skia_resource_cache_count_limit%': 0,
+ 'skia_angle%': 0,
'skia_gdi%': 0,
'skia_gpu%': 1,
'skia_osx_deployment_target%': '',
diff --git a/tools/dm_flags.json b/tools/dm_flags.json
index 3a7559164d..c90f50ed2b 100644
--- a/tools/dm_flags.json
+++ b/tools/dm_flags.json
@@ -5,7 +5,6 @@
"8888",
"gpu",
"nvprmsaa4",
- "angle",
"serialize-8888",
"tiles_rt-8888",
"pipe-8888",
@@ -46,7 +45,6 @@
"8888",
"gpu",
"nvprmsaa4",
- "angle",
"--blacklist",
"gpu",
"_",
@@ -83,7 +81,6 @@
"8888",
"gpu",
"nvprmsaa4",
- "angle",
"serialize-8888",
"tiles_rt-8888",
"pipe-8888",
@@ -104,7 +101,6 @@
"8888",
"gpu",
"nvprmsaa4",
- "angle",
"serialize-8888",
"tiles_rt-8888",
"pipe-8888",
@@ -118,5 +114,24 @@
"PANO_20121023_214540.jpg",
"--match",
"~Threaded"
+ ],
+ "Test-Win7-ShuttleA-HD2000-x86-Debug-ANGLE": [
+ "--config",
+ "565",
+ "8888",
+ "gpu",
+ "nvprmsaa4",
+ "serialize-8888",
+ "tiles_rt-8888",
+ "pipe-8888",
+ "tiles_rt-gpu",
+ "angle",
+ "--blacklist",
+ "gpu",
+ "_",
+ "PANO_20121023_214540.jpg",
+ "msaa",
+ "_",
+ "PANO_20121023_214540.jpg"
]
} \ No newline at end of file
diff --git a/tools/dm_flags.py b/tools/dm_flags.py
index c41a003c51..985a62adf5 100755
--- a/tools/dm_flags.py
+++ b/tools/dm_flags.py
@@ -22,13 +22,15 @@ cov_start = lineno()+1 # We care about coverage starting just past this def.
def get_args(bot):
args = []
- configs = ['565', '8888', 'gpu', 'nvprmsaa4', 'angle']
+ configs = ['565', '8888', 'gpu', 'nvprmsaa4']
# Xoom and NP are running out of RAM when we run all these modes. skia:3255
if ('Xoom' not in bot and
'NexusPlayer' not in bot):
configs.extend(mode + '-8888' for mode in
['serialize', 'tiles_rt', 'pipe'])
configs.append('tiles_rt-gpu')
+ if 'ANGLE' in bot:
+ configs.append('angle')
args.append('--config')
args.extend(configs)
@@ -86,6 +88,7 @@ def self_test():
'Test-Android-Xoom-Tegra2-Arm7-Release',
'Test-ChromeOS-Alex-GMA3150-x86-Debug',
'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind',
+ 'Test-Win7-ShuttleA-HD2000-x86-Debug-ANGLE',
]
cov = coverage.coverage()