-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Document threading configuration with Vulkan. #44874
Conversation
impeller/docs/vulkan_threading.md
Outdated
|
|
||
| There is also a separate component called the fence waiter operates on its own | ||
| thread. The sole purpose of this thread is to wait for the GPU to complete | ||
| processing commands so that Impeller can delete the resources when the GPU is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would phrase this as something like "The purpose of the fence waiter is to ensure that the resource/ref count lives at least as long as the GPU command buffer(s) that access this resource".
Because of course these fences can fire quite quickly on smaller workloads and finish before the overall frame is finished. Without the resource manager, this would lead to resource deletion as part of the frame workload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Copied almost verbatim.
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…132918) flutter/engine@2dcfb6c...394554b 2023-08-20 [email protected] [Impeller] Document threading configuration with Vulkan. (flutter/engine#44874) 2023-08-20 [email protected] Roll Fuchsia Mac SDK from onEHyyETXAMieDyfP... to fiGH0e7wu87NiNtTr... (flutter/engine#44875) 2023-08-20 [email protected] Roll Dart SDK from a4908f67b63e to 632c8cccd30c (2 revisions) (flutter/engine#44872) 2023-08-20 [email protected] Roll Fuchsia Linux SDK from pSqQ556xmZp7S4np5... to iQbvLoFBbhU8pkkqw... (flutter/engine#44878) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from pSqQ556xmZp7 to iQbvLoFBbhU8 fuchsia/sdk/core/mac-amd64 from onEHyyETXAMi to fiGH0e7wu87N If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Moving bits and pieces of the presentation this morning into docs so we can keep them up to date.
Moving bits and pieces of the presentation this morning into docs so we can keep them up to date.