5#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_VULKAN_H_
6#define FLUTTER_SHELL_GPU_GPU_SURFACE_VULKAN_H_
17#include "third_party/skia/include/core/SkRefCnt.h"
18#include "third_party/skia/include/core/SkSurface.h"
33 const sk_sp<GrDirectContext>& context,
34 bool render_to_surface);
54 sk_sp<GrDirectContext> skia_context_;
55 bool render_to_surface_;
59 sk_sp<SkSurface> CreateSurfaceFromVulkanImage(
const VkImage
image,
60 const VkFormat format,
Interface implemented by all platform surfaces that can present a Vulkan backing store to the "screen...
A GPU surface backed by VkImages provided by a GPUSurfaceVulkanDelegate.
DlMatrix GetRootTransformation() const override
GrDirectContext * GetContext() override
static SkColorType ColorTypeFromFormat(const VkFormat format)
std::unique_ptr< SurfaceFrame > AcquireFrame(const DlISize &size) override
~GPUSurfaceVulkan() override
Abstract Base Class that represents where we will be rendering content.
FlutterVulkanImage * image
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
it will be possible to load the file into Perfetto s trace viewer use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all 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
A 4x4 matrix using column-major storage.