8#ifndef skgpu_graphite_VulkanResourceProvider_DEFINED
9#define skgpu_graphite_VulkanResourceProvider_DEFINED
18#ifdef SK_BUILD_FOR_ANDROID
26class VulkanCommandBuffer;
27class VulkanDescriptorSet;
28class VulkanFramebuffer;
29class VulkanGraphicsPipeline;
30class VulkanRenderPass;
31class VulkanSharedContext;
32class VulkanYcbcrConversion;
42 size_t resourceBudget,
78#ifdef SK_BUILD_FOR_ANDROID
81 bool isProtectedContent,
83 bool fromAndroidWindow)
const override;
103 VkPipelineCache pipelineCache();
128 struct UniqueKeyHash {
132 DescriptorSetCache fUniformBufferDescSetCache;
struct AHardwareBuffer AHardwareBuffer
sk_sp< VulkanYcbcrConversion > findOrCreateCompatibleYcbcrConversion(const VulkanYcbcrConversionInfo &ycbcrInfo) const
const Buffer * loadMSAAVertexBuffer() const
static constexpr size_t kLoadMSAAVertexBufferSize
~VulkanResourceProvider() override
VulkanResourceProvider(SharedContext *sharedContext, SingleOwner *, uint32_t recorderID, size_t resourceBudget, sk_sp< Buffer > intrinsicConstantUniformBuffer, sk_sp< Buffer > loadMSAAVertexBuffer)
static constexpr size_t kIntrinsicConstantSize
sk_sp< Buffer > refIntrinsicConstantBuffer() const
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