[Impeller] Plumb through the impeller-force-gl flag. (#123828)
[Impeller] Plumb through the impeller-force-gl flag.
This commit is contained in:
@@ -1069,6 +1069,16 @@ abstract class FlutterCommand extends Command<void> {
|
||||
);
|
||||
}
|
||||
|
||||
void addImpellerForceGLFlag({required bool verboseHelp}) {
|
||||
argParser.addFlag('impeller-force-gl',
|
||||
hide: !verboseHelp,
|
||||
help: 'On platforms that support OpenGL Rendering using Impeller, force '
|
||||
'rendering using OpenGL over other APIs. If Impeller is not '
|
||||
'enabled or the platform does not support OpenGL ES, this flag '
|
||||
'does nothing.',
|
||||
);
|
||||
}
|
||||
|
||||
void addEnableEmbedderApiFlag({required bool verboseHelp}) {
|
||||
argParser.addFlag('enable-embedder-api',
|
||||
hide: !verboseHelp,
|
||||
|
||||
Reference in New Issue
Block a user