Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
flutter::testing::TestVsyncWaiter Class Reference
Inheritance diagram for flutter::testing::TestVsyncWaiter:
flutter::VsyncWaiter

Public Member Functions

 TestVsyncWaiter (const TaskRunners &task_runners)
 
- Public Member Functions inherited from flutter::VsyncWaiter
virtual ~VsyncWaiter ()
 
void AsyncWaitForVsync (const Callback &callback)
 
void ScheduleSecondaryCallback (uintptr_t id, const fml::closure &callback)
 

Public Attributes

int await_vsync_call_count_ = 0
 

Protected Member Functions

void AwaitVSync () override
 
- Protected Member Functions inherited from flutter::VsyncWaiter
 VsyncWaiter (const TaskRunners &task_runners)
 
virtual void AwaitVSync ()=0
 
virtual void AwaitVSyncForSecondaryCallback ()
 
void FireCallback (fml::TimePoint frame_start_time, fml::TimePoint frame_target_time, bool pause_secondary_tasks=true)
 

Additional Inherited Members

- Public Types inherited from flutter::VsyncWaiter
using Callback = std::function< void(std::unique_ptr< FrameTimingsRecorder >)>
 
- Protected Attributes inherited from flutter::VsyncWaiter
const TaskRunners task_runners_
 

Detailed Description

Definition at line 16 of file vsync_waiter_unittests.cc.

Constructor & Destructor Documentation

◆ TestVsyncWaiter()

flutter::testing::TestVsyncWaiter::TestVsyncWaiter ( const TaskRunners task_runners)
inlineexplicit

Definition at line 18 of file vsync_waiter_unittests.cc.

19 : VsyncWaiter(task_runners) {}
VsyncWaiter(const TaskRunners &task_runners)
Definition: vsync_waiter.cc:21

Member Function Documentation

◆ AwaitVSync()

void flutter::testing::TestVsyncWaiter::AwaitVSync ( )
inlineoverrideprotectedvirtual

Member Data Documentation

◆ await_vsync_call_count_

int flutter::testing::TestVsyncWaiter::await_vsync_call_count_ = 0

Definition at line 21 of file vsync_waiter_unittests.cc.


The documentation for this class was generated from the following file: