7#include "flutter/fml/trace_event.h"
19 const std::shared_ptr<Context>& context,
23 auto swapchain = std::shared_ptr<KHRSwapchainVK>(
34 const std::shared_ptr<Context>& context,
42 android::NativeWindow
window(p_window);
47 vk::AndroidSurfaceCreateInfoKHR surface_info;
48 surface_info.setWindow(
window.GetHandle());
52 if (
result != vk::Result::eSuccess) {
60 if constexpr (
false) {
67 auto ahb_swapchain = std::shared_ptr<AHBSwapchainVK>(
new AHBSwapchainVK(
75 if (ahb_swapchain->IsValid()) {
79 <<
"Could not create AHB swapchain. Falling back to KHR variant.";
static bool IsAvailableOnPlatform()
static ContextVK & Cast(Context &base)
const std::unique_ptr< DriverInfoVK > & GetDriverInfo() const
vk::Instance GetInstance() const
A swapchain implemented backed by VK_KHR_swapchain and VK_KHR_surface.
static std::shared_ptr< SwapchainVK > Create(const std::shared_ptr< Context > &context, vk::UniqueSurfaceKHR surface, const ISize &size, bool enable_msaa=true)
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
static SkString to_string(int n)
#define TRACE_EVENT0(category_group, name)
struct ANativeWindow ANativeWindow