This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
testing/scenario_app/bin/utils Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,6 @@ extension type const Options._(ArgResults _args) {
4646 );
4747 }
4848
49- // Cannot use forceSurfaceProducerSurfaceTexture with Impeller+Vulkan.
50- if (options.forceSurfaceProducerSurfaceTexture &&
51- options.enableImpeller &&
52- options.impellerBackend != 'opengles' ) {
53- throw const FormatException (
54- 'Cannot use --force-surface-producer-surface-texture with '
55- '--enable-impeller unless --impeller-backend="opengles" is used. See '
56- 'https://github.com/flutter/flutter/issues/143539 for details.' ,
57- );
58- }
59-
6049 return options;
6150 }
6251
@@ -322,13 +311,7 @@ extension type const Options._(ArgResults _args) {
322311 String ? get outputContentsGolden => _args['output-contents-golden' ] as String ;
323312
324313 /// Whether to force the use of `SurfaceTexture` for `SurfaceProducer` .
325- ///
326- /// Always returns `false` if `--enable-impeller` is `true` and
327- /// `--impeller-backend` is not `opengles` .
328314 bool get forceSurfaceProducerSurfaceTexture {
329- if (enableImpeller && impellerBackend != 'opengles' ) {
330- return false ;
331- }
332315 return _args['force-surface-producer-surface-texture' ] as bool ;
333316 }
334317
You can’t perform that action at this time.
0 commit comments