5#ifndef FLUTTER_SHELL_COMMON_SHELL_TEST_PLATFORM_VIEW_VULKAN_H_
6#define FLUTTER_SHELL_COMMON_SHELL_TEST_PLATFORM_VIEW_VULKAN_H_
8#include "flutter/shell/common/shell_test_external_view_embedder.h"
9#include "flutter/shell/common/shell_test_platform_view.h"
10#include "flutter/shell/gpu/gpu_surface_vulkan_delegate.h"
11#include "flutter/vulkan/vulkan_application.h"
12#include "flutter/vulkan/vulkan_device.h"
13#include "flutter/vulkan/vulkan_skia_proc_table.h"
22 std::shared_ptr<ShellTestVsyncClock> vsync_clock,
24 std::shared_ptr<ShellTestExternalViewEmbedder>
25 shell_test_external_view_embedder);
35 std::shared_ptr<ShellTestExternalViewEmbedder>
36 shell_test_external_view_embedder);
38 ~OffScreenSurface()
override;
41 bool IsValid()
override;
44 std::unique_ptr<SurfaceFrame> AcquireFrame(
const SkISize&
size)
override;
47 SkMatrix GetRootTransformation()
const override;
55 std::shared_ptr<ShellTestExternalViewEmbedder>
56 shell_test_external_view_embedder_;
57 std::unique_ptr<vulkan::VulkanApplication> application_;
58 std::unique_ptr<vulkan::VulkanDevice> logical_device_;
62 bool CreateSkiaGrContext();
71 std::shared_ptr<ShellTestVsyncClock> vsync_clock_;
75 std::shared_ptr<ShellTestExternalViewEmbedder>
76 shell_test_external_view_embedder_;
79 std::unique_ptr<Surface> CreateRenderingSurface()
override;
82 std::shared_ptr<ExternalViewEmbedder> CreateExternalViewEmbedder()
override;
85 std::unique_ptr<VsyncWaiter> CreateVSyncWaiter()
override;
Abstract Base Class that represents where we will be rendering content.
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
SK_API GrDirectContext * GetContext(const SkImage *src)
std::function< std::unique_ptr< VsyncWaiter >()> CreateVsyncWaiter
std::function< std::unique_ptr< PointerDataDispatcher >(PointerDataDispatcher::Delegate &)> PointerDataDispatcherMaker
Signature for constructing PointerDataDispatcher.
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size