5#define FML_USED_ON_EMBEDDER
12TEST(FlowTest, SurfaceFrameDoesNotSubmitInDtor) {
23 auto surface_frame = std::make_unique<SurfaceFrame>(
29 surface_frame.reset();
32TEST(FlowTest, SurfaceFrameDoesNotHaveEmptyCanvas) {
35 auto submit_callback = [](
const SurfaceFrame&) {
return true; };
49TEST(FlowTest, SurfaceFrameDoesNotPrepareRtree) {
52 auto submit_callback = [](
const SurfaceFrame&) {
return true; };
53 auto surface_frame = std::make_unique<SurfaceFrame>(
62 EXPECT_FALSE(surface_frame->BuildDisplayList()->has_rtree());
Developer-facing API for rendering anything within the engine.
virtual DlRect GetLocalClipCoverage() const =0
virtual bool QuickReject(const DlRect &bounds) const =0
FlutterDesktopBinaryReply callback
TEST(FrameTimingsRecorderTest, RecordVsync)
impeller::ISize32 DlISize
static constexpr TRect MakeWH(Type width, Type height)
constexpr bool IsEmpty() const
Returns true if either of the width or height are 0, negative, or NaN.
static constexpr TRect MakeLTRB(Type left, Type top, Type right, Type bottom)