[Impeller] Plumb through the impeller-force-gl flag. (#123828)

[Impeller] Plumb through the impeller-force-gl flag.
This commit is contained in:
Chinmay Garde
2023-03-31 08:13:10 -07:00
committed by GitHub
parent d940f60b46
commit f6c2b10e1a
5 changed files with 24 additions and 0 deletions

View File

@@ -662,6 +662,8 @@ class AndroidDevice extends Device {
...<String>['--ez', 'enable-impeller', 'false'],
if (debuggingOptions.enableVulkanValidation)
...<String>['--ez', 'enable-vulkan-validation', 'true'],
if (debuggingOptions.impellerForceGL)
...<String>['--ez', 'impeller-force-gl', 'true'],
if (debuggingOptions.debuggingEnabled) ...<String>[
if (debuggingOptions.buildInfo.isDebug) ...<String>[
...<String>['--ez', 'enable-checked-mode', 'true'],