Lines Matching refs:platform_view
52 auto platform_view = on_create_platform_view(*shell.get()); in CreateShellOnPlatformThread() local
53 if (!platform_view || !platform_view->GetWeakPtr()) { in CreateShellOnPlatformThread()
59 auto vsync_waiter = platform_view->CreateVSyncWaiter(); in CreateShellOnPlatformThread()
75 &platform_view, // in CreateShellOnPlatformThread()
80 platform_view->CreateResourceContext(), io_task_runner); in CreateShellOnPlatformThread()
140 if (!shell->Setup(std::move(platform_view), // in CreateShellOnPlatformThread()
337 platform_view = platform_view_.get(), in ~Shell()
340 if (platform_view) { in ~Shell()
341 platform_view->ReleaseResourceContext(); in ~Shell()
353 fml::MakeCopyable([platform_view = std::move(platform_view_), in ~Shell()
355 platform_view.reset(); in ~Shell()
449 bool Shell::Setup(std::unique_ptr<PlatformView> platform_view, in Setup() argument
457 if (!platform_view || !engine || !rasterizer || !io_manager) { in Setup()
461 platform_view_ = std::move(platform_view); in Setup()
578 auto* platform_view = platform_view_.get(); in OnPlatformViewCreated() local
580 FML_DCHECK(platform_view); in OnPlatformViewCreated()
582 auto io_task = [io_manager = io_manager_->GetWeakPtr(), platform_view, in OnPlatformViewCreated()
586 platform_view->CreateResourceContext()); in OnPlatformViewCreated()