[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:
@@ -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));
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user