#include <flatland_connection.h>
Public Member Functions | |
| FlatlandConnection (const std::string &debug_label, fuchsia::ui::composition::FlatlandHandle flatland, fml::closure error_callback, on_frame_presented_event on_frame_presented_callback, async_dispatcher_t *dispatcher=async_get_default_dispatcher()) | |
| ~FlatlandConnection () | |
| void | Present () |
| void | AwaitVsync (FireCallbackCallback callback) |
| void | AwaitVsyncForSecondaryCallback (FireCallbackCallback callback) |
| fuchsia::ui::composition::Flatland * | flatland () |
| fuchsia::ui::composition::TransformId | NextTransformId () |
| fuchsia::ui::composition::ContentId | NextContentId () |
| void | EnqueueAcquireFence (zx::event fence) |
| void | EnqueueReleaseFence (zx::event fence) |
Definition at line 51 of file flatland_connection.h.
| flutter_runner::FlatlandConnection::FlatlandConnection | ( | const std::string & | debug_label, |
| fuchsia::ui::composition::FlatlandHandle | flatland, | ||
| fml::closure | error_callback, | ||
| on_frame_presented_event | on_frame_presented_callback, | ||
| async_dispatcher_t * | dispatcher = async_get_default_dispatcher() |
||
| ) |
Definition at line 30 of file flatland_connection.cc.
|
default |
| void flutter_runner::FlatlandConnection::AwaitVsync | ( | FireCallbackCallback | callback | ) |
Definition at line 170 of file flatland_connection.cc.
References callback, and fml::TimePoint::Now().
| void flutter_runner::FlatlandConnection::AwaitVsyncForSecondaryCallback | ( | FireCallbackCallback | callback | ) |
Definition at line 193 of file flatland_connection.cc.
References callback, and fml::TimePoint::Now().
| void flutter_runner::FlatlandConnection::EnqueueAcquireFence | ( | zx::event | fence | ) |
Definition at line 408 of file flatland_connection.cc.
References flutter_runner::Enqueue().
| void flutter_runner::FlatlandConnection::EnqueueReleaseFence | ( | zx::event | fence | ) |
Definition at line 413 of file flatland_connection.cc.
References flutter_runner::Enqueue().
|
inline |
Definition at line 70 of file flatland_connection.h.
|
inline |
Definition at line 76 of file flatland_connection.h.
|
inline |
Definition at line 72 of file flatland_connection.h.
| void flutter_runner::FlatlandConnection::Present | ( | ) |
Definition at line 57 of file flatland_connection.cc.
| bool flutter_runner::FlatlandConnection::initial_vsync_callback_ran_ = false |
Definition at line 140 of file flatland_connection.h.
| fml::TimePoint flutter_runner::FlatlandConnection::last_presentation_time_ |
Definition at line 137 of file flatland_connection.h.
| std::mutex flutter_runner::FlatlandConnection::mutex_ |
Definition at line 133 of file flatland_connection.h.
| std::queue<fml::TimePoint> flutter_runner::FlatlandConnection::next_presentation_times_ |
Definition at line 134 of file flatland_connection.h.
| FireCallbackCallback flutter_runner::FlatlandConnection::pending_fire_callback_ |
Definition at line 138 of file flatland_connection.h.
| uint32_t flutter_runner::FlatlandConnection::present_credits_ = 1 |
Definition at line 139 of file flatland_connection.h.
| fml::TimeDelta flutter_runner::FlatlandConnection::vsync_interval_ = kInitialFlatlandVsyncOffset |
Definition at line 135 of file flatland_connection.h.
| fml::TimeDelta flutter_runner::FlatlandConnection::vsync_offset_ = kInitialFlatlandVsyncOffset |
Definition at line 136 of file flatland_connection.h.