-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#31859Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedPerformance issues related to (mostly rendering) speedplatform-androidAndroid applications specificallyAndroid applications specifically
Description
Certain NDK APIs are available at higher versions than we currently support, for example one can access the AChoreographer on API 24+ (whereas we support API 16+), and proposed image decoding APIs would enable expanded support for image formats without a JNI hop.
It should be possible to use dlopen/dlsym to dynamically use these methods if they are available.
I suspect that we could improve performance by avoiding a JNI hop on each vsync by accessing the choreographer dynamically from C++ when API >= 24. That would be an interesting case to prove out.
xster and ColdPaleLight
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedPerformance issues related to (mostly rendering) speedplatform-androidAndroid applications specificallyAndroid applications specifically