Skip to content

Commit

Permalink
[shell] Add references to VsyncWaiter docs (flutter#44607)
Browse files Browse the repository at this point in the history
Point users in the direction of VsyncWaiterAndroid, VsyncWaiterEmbedder.

No new tests since this patch introduces no semantic changes.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
  • Loading branch information
cbracken authored Aug 10, 2023
1 parent e097d0d commit 18a71c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shell/common/vsync_waiter.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ namespace flutter {

/// Abstract Base Class that represents a platform specific mechanism for
/// getting callbacks when a vsync event happens.
///
/// @see VsyncWaiterAndroid
/// @see VsyncWaiterEmbedder
class VsyncWaiter : public std::enable_shared_from_this<VsyncWaiter> {
public:
using Callback = std::function<void(std::unique_ptr<FrameTimingsRecorder>)>;
Expand Down

0 comments on commit 18a71c0

Please sign in to comment.