mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1296086 - Add a web-platform-tests flag to allow GL composition on a software GL implementation. r=jmaher
MozReview-Commit-ID: KqunJUb2Fl8 --HG-- extra : rebase_source : b78f0336b48f510da81a29b159ed950818803854
This commit is contained in:
parent
802137faf2
commit
8453740917
@ -40,7 +40,13 @@ class WebPlatformTest(TestingMixin, MercurialScript, BlobUploadMixin):
|
||||
[["--this-chunk"], {
|
||||
"action": "store",
|
||||
"dest": "this_chunk",
|
||||
"help": "Number of this chunk"}]
|
||||
"help": "Number of this chunk"}
|
||||
],
|
||||
[["--allow-software-gl-layers"], {
|
||||
"action": "store_true",
|
||||
"dest": "allow_software_gl_layers",
|
||||
"default": False,
|
||||
"help": "Permits a software GL implementation (such as LLVMPipe) to use the GL compositor."}]
|
||||
] + copy.deepcopy(testing_config_options) + \
|
||||
copy.deepcopy(blobupload_config_options)
|
||||
|
||||
@ -183,6 +189,10 @@ class WebPlatformTest(TestingMixin, MercurialScript, BlobUploadMixin):
|
||||
log_compact=True)
|
||||
|
||||
env = {'MINIDUMP_SAVE_PATH': dirs['abs_blob_upload_dir']}
|
||||
|
||||
if self.config['allow_software_gl_layers']:
|
||||
env['MOZ_LAYERS_ALLOW_SOFTWARE_GL'] = '1'
|
||||
|
||||
env = self.query_env(partial_env=env, log_level=INFO)
|
||||
|
||||
return_code = self.run_command(cmd,
|
||||
|
Loading…
Reference in New Issue
Block a user