[Impeller] Add animated_blur_backdrop_filter_perf execution on samsung vulkan and opengles (#131864)

issue: https://github.com/flutter/flutter/issues/131784
This commit is contained in:
gaaclarke
2023-08-03 15:31:06 -07:00
committed by GitHub
parent 9489009790
commit f0e39349c9
4 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createAnimatedBlurBackropFilterPerfTest(
enableImpeller: true, forceOpenGLES: true));
}

View File

@@ -630,12 +630,14 @@ TaskFunction createGradientStaticPerfE2ETest() {
TaskFunction createAnimatedBlurBackropFilterPerfTest({
bool? enableImpeller,
bool? forceOpenGLES,
}) {
return PerfTest(
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
'test_driver/run_app.dart',
'animated_blur_backdrop_filter_perf',
enableImpeller: enableImpeller,
forceOpenGLES: forceOpenGLES,
testDriver: 'test_driver/animated_blur_backdrop_filter_perf_test.dart',
saveTraceFile: true,
).run;