#include <fake_flatland.h>
Public Types | |
| using | PresentHandler = std::function< void(fuchsia::ui::composition::PresentArgs)> |
Public Member Functions | |
| FakeFlatland () | |
| ~FakeFlatland () override | |
| bool | is_allocator_connected () const |
| bool | is_flatland_connected () const |
| const std::string & | debug_name () const |
| const FakeGraph & | graph () |
| fuchsia::ui::composition::AllocatorHandle | ConnectAllocator (async_dispatcher_t *dispatcher=nullptr) |
| fuchsia::ui::composition::FlatlandHandle | ConnectFlatland (async_dispatcher_t *dispatcher=nullptr) |
| void | Disconnect (fuchsia::ui::composition::FlatlandError error) |
| void | SetPresentHandler (PresentHandler present_handler) |
| void | FireOnNextFrameBeginEvent (fuchsia::ui::composition::OnNextFrameBeginValues on_next_frame_begin_values) |
| void | FireOnFramePresentedEvent (fuchsia::scenic::scheduling::FramePresentedInfo frame_presented_info) |
Definition at line 67 of file fake_flatland.h.
| using flutter_runner::testing::FakeFlatland::PresentHandler = std::function<void(fuchsia::ui::composition::PresentArgs)> |
Definition at line 71 of file fake_flatland.h.
| flutter_runner::testing::FakeFlatland::FakeFlatland | ( | ) |
Definition at line 16 of file fake_flatland.cc.
|
overridedefault |
| fuchsia::ui::composition::AllocatorHandle flutter_runner::testing::FakeFlatland::ConnectAllocator | ( | async_dispatcher_t * | dispatcher = nullptr | ) |
Definition at line 23 of file fake_flatland.cc.
References FML_CHECK.
| fuchsia::ui::composition::FlatlandHandle flutter_runner::testing::FakeFlatland::ConnectFlatland | ( | async_dispatcher_t * | dispatcher = nullptr | ) |
Definition at line 33 of file fake_flatland.cc.
References FML_CHECK.
Referenced by flutter_runner::testing::FakeFlatlandTest::ConnectFlatland().
|
inline |
Definition at line 81 of file fake_flatland.h.
| void flutter_runner::testing::FakeFlatland::Disconnect | ( | fuchsia::ui::composition::FlatlandError | error | ) |
Definition at line 43 of file fake_flatland.cc.
References error.
| void flutter_runner::testing::FakeFlatland::FireOnFramePresentedEvent | ( | fuchsia::scenic::scheduling::FramePresentedInfo | frame_presented_info | ) |
Definition at line 63 of file fake_flatland.cc.
| void flutter_runner::testing::FakeFlatland::FireOnNextFrameBeginEvent | ( | fuchsia::ui::composition::OnNextFrameBeginValues | on_next_frame_begin_values | ) |
Definition at line 56 of file fake_flatland.cc.
Referenced by flutter_runner::testing::FlatlandConnectionTest::OnNextFrameBegin().
|
inline |
Definition at line 83 of file fake_flatland.h.
|
inline |
Definition at line 77 of file fake_flatland.h.
|
inline |
Definition at line 79 of file fake_flatland.h.
Referenced by flutter_runner::testing::FakeFlatlandTest::ConnectFlatland().
| void flutter_runner::testing::FakeFlatland::SetPresentHandler | ( | PresentHandler | present_handler | ) |
Definition at line 51 of file fake_flatland.cc.
References args.