Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@chinmaygarde
Copy link
Member

Moving bits and pieces of the presentation this morning into docs so we can keep them up to date.


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
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Copied almost verbatim.

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 19, 2023
@auto-submit auto-submit bot merged commit 394554b into flutter:main Aug 20, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 21, 2023
…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
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
Moving bits and pieces of the presentation this morning into docs so we can keep them up to date.
@chinmaygarde chinmaygarde deleted the docthreading branch August 22, 2024 19:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants