Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b090740

Browse files
committed
Add surface producer surface texture dimension.
1 parent 015b697 commit b090740

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

ci/builders/linux_android_emulator.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,32 @@
9090
"--enable-impeller",
9191
"--impeller-backend=vulkan"
9292
]
93+
},
94+
{
95+
"language": "dart",
96+
"name": "Android Scenario App Integration Tests (Impeller/Vulkan) (Force Surface Producer Surface Texture)",
97+
"test_timeout_secs": 900,
98+
"max_attempts": 2,
99+
"test_dependencies": [
100+
{
101+
"dependency": "android_virtual_device",
102+
"version": "android_34_google_apis_x64.textpb"
103+
},
104+
{
105+
"dependency": "avd_cipd_version",
106+
"version": "build_id:8759428741582061553"
107+
}
108+
],
109+
"contexts": [
110+
"android_virtual_device"
111+
],
112+
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
113+
"parameters": [
114+
"--out-dir=../out/ci/android_emulator_debug_x64",
115+
"--enable-impeller",
116+
"--impeller-backend=vulkan",
117+
"--force-surface-producer-surface-texture"
118+
]
93119
}
94120
]
95121
},

testing/scenario_app/bin/utils/options.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,7 @@ extension type const Options._(ArgResults _args) {
141141
'rendering strategy. This is used to emulate the behavior of older '
142142
'devices that do not support ImageReader, or to explicitly test '
143143
'SurfaceTexture path for rendering plugins still using the older '
144-
'createSurfaceTexture() API.'
145-
'\n'
146-
'Cannot be used with --enable-impeller unless --impeller-backend='
147-
'"opengles" is used. See '
148-
'https://github.com/flutter/flutter/issues/143539 for details.',
144+
'createSurfaceTexture() API.',
149145
negatable: false
150146
)
151147
..addFlag(

0 commit comments

Comments
 (0)