Lines Matching full:shell
7 #include "flutter/shell/common/shell_test.h"
14 #include "flutter/shell/gpu/gpu_surface_gl.h"
26 Shell* shell, in SendEnginePlatformMessage() argument
30 shell->GetTaskRunners().GetPlatformTaskRunner(), in SendEnginePlatformMessage()
31 [shell, &latch, message = std::move(message)]() { in SendEnginePlatformMessage()
32 if (auto engine = shell->weak_engine_) { in SendEnginePlatformMessage()
80 void ShellTest::PlatformViewNotifyCreated(Shell* shell) { in PlatformViewNotifyCreated() argument
83 shell->GetTaskRunners().GetPlatformTaskRunner(), [shell, &latch]() { in PlatformViewNotifyCreated()
84 shell->GetPlatformView()->NotifyCreated(); in PlatformViewNotifyCreated()
90 void ShellTest::RunEngine(Shell* shell, RunConfiguration configuration) { in RunEngine() argument
93 shell->GetTaskRunners().GetPlatformTaskRunner(), in RunEngine()
94 [shell, &latch, &configuration]() { in RunEngine()
95 shell->RunEngine(std::move(configuration), in RunEngine()
104 void ShellTest::PumpOneFrame(Shell* shell) { in PumpOneFrame() argument
109 shell->GetTaskRunners().GetUITaskRunner()->PostTask( in PumpOneFrame()
110 [&latch, engine = shell->weak_engine_]() { in PumpOneFrame()
121 fml::WeakPtr<RuntimeDelegate> runtime_delegate = shell->weak_engine_; in PumpOneFrame()
122 shell->GetTaskRunners().GetUITaskRunner()->PostTask( in PumpOneFrame()
135 int ShellTest::UnreportedTimingsCount(Shell* shell) { in UnreportedTimingsCount() argument
136 return shell->unreported_timings_.size(); in UnreportedTimingsCount()
139 void ShellTest::SetNeedsReportTimings(Shell* shell, bool value) { in SetNeedsReportTimings() argument
140 shell->SetNeedsReportTimings(value); in SetNeedsReportTimings()
143 bool ShellTest::GetNeedsReportTimings(Shell* shell) { in GetNeedsReportTimings() argument
144 return shell->needs_report_timings_; in GetNeedsReportTimings()
173 std::unique_ptr<Shell> ShellTest::CreateShell(Settings settings) { in CreateShell()
177 std::unique_ptr<Shell> ShellTest::CreateShell(Settings settings, in CreateShell()
179 return Shell::Create( in CreateShell()
181 [](Shell& shell) { in CreateShell() argument
182 return std::make_unique<ShellTestPlatformView>(shell, in CreateShell()
183 shell.GetTaskRunners()); in CreateShell()
185 [](Shell& shell) { in CreateShell() argument
186 return std::make_unique<Rasterizer>(shell, shell.GetTaskRunners()); in CreateShell()