Comments (3)
@jiahaog did some testing and noticed 1.7s dedicated to this on startup time and was wondering if we could move this earlier:
from flutter.
In lieu of starting the pipeline creation process earlier, we could unlatch its completion with the UI thread, instead synchronizing at the point where someone uses a pipeline. That may incur a small overhead every time the pipeline is used but have much faster startup time.
from flutter.
It looks like creating the PipelineVK's (PipelineVK::Create) is already decoupled in the sense that PipelineLibraryVK::GetPipeline
already returns a future. However ContentContext::ContentContext
will launch all of those async operations then immediate synchronize on a subset of them because of ContentContext::InitializeCommonlyUsedShadersIfNeeded
.
If we want to keep ContentContext::InitializeCommonlyUsedShadersIfNeeded
, one optimization would be to make sure those commonly used shaders were the one that are at the top of the worker threads queue. ContentContext::InitializeCommonlyUsedShadersIfNeeded
may be a deoptimization itself.
from flutter.
Related Issues (20)
- Minor Improvement (but with minor effort) - AspectRatio Widget default ratio HOT 2
- [pigeon] Support ExistentialAny in Swift code
- There should be an easy way to create an Image Widget and an ImageProvider from a dart:ui Image.
- flutter has been upgraded to flicker in some places HOT 4
- [tool_crash] ProcessException: Failed to find "git" in the search path. Command: git, OS error code: 0 HOT 4
- [Impeller/Android] Potential issue with Camera (or CustomPaint) when using Impeller on Android. HOT 2
- `flutter upgrade` or `flutter upgrade --force` fails with `WriteError` due to error running `Rename-Item $dartSdkPath "$oldDartSdkPrefix$oldDartSdkSuffix"` HOT 2
- image_picker: compressing is not supported for type .png. Returning the image with original quality HOT 2
- Monorepo tests failing because of artifact upload path change HOT 7
- [cross_file] XFile.fromData `name` field is empty. HOT 2
- [go_router] When using pageBuilder, route.settings.name==null in the callback of RouteObserver HOT 3
- NestedScrollView with RefreshIndicator: dragging effect of RefreshIndicator seems to disappear with a slight drag HOT 10
- flutterEngine.getPlugins().add(new io.flutter.plugins.pathprovider.PathProviderPlugin()); HOT 2
- Allow Customization of Debug Mode Banner Message in CheckedModeBanner HOT 1
- [go_router] RouteInformation contains wrong uri HOT 2
- Material 3 `FloatingActionButton` background/foreground docs are inconsistent HOT 1
- Linter rule to catch type information loss in generic state class definitions HOT 3
- [pigeon] If both plugin and app uses Swift for generating code, extension for FlutterError make project not buildable. HOT 3
- Ensure Devicelab bots are synced with salt server HOT 8
- Make Autocomplete show a custom options view while `optionsBuilder` future is being resolved HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.