Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
VelloComputeSteps.cpp File Reference
#include "src/gpu/graphite/compute/VelloComputeSteps.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Macros

#define BUFFER_BINDING(slot, type, policy)
 
#define TEXTURE_BINDING(slot, type, policy)
 

Functions

std::string_view skgpu::graphite::VelloStageName (vello_cpp::ShaderStage stage)
 
WorkgroupSize skgpu::graphite::VelloStageLocalSize (vello_cpp::ShaderStage stage)
 
skia_private::TArray< ComputeStep::WorkgroupBufferDescskgpu::graphite::VelloWorkgroupBuffers (vello_cpp::ShaderStage stage)
 
ComputeStep::NativeShaderSource skgpu::graphite::VelloNativeShaderSource (vello_cpp::ShaderStage stage, ComputeStep::NativeShaderFormat format)
 

Variables

static constexpr ComputeStep::ResourceDesc skgpu::graphite::kFineAreaResources []
 
static constexpr ComputeStep::ResourceDesc skgpu::graphite::kFineMsaaResources []
 

Macro Definition Documentation

◆ BUFFER_BINDING

#define BUFFER_BINDING (   slot,
  type,
  policy 
)
Value:
{ \
/*type=*/ComputeStep::ResourceType::k##type##Buffer, \
/*flow=*/ComputeStep::DataFlow::kShared, \
/*policy=*/ComputeStep::ResourcePolicy::k##policy, \
/*slot=*/kVelloSlot_##slot, \
}

Definition at line 62 of file VelloComputeSteps.cpp.

63 { \
64 /*type=*/ComputeStep::ResourceType::k##type##Buffer, \
65 /*flow=*/ComputeStep::DataFlow::kShared, \
66 /*policy=*/ComputeStep::ResourcePolicy::k##policy, \
67 /*slot=*/kVelloSlot_##slot, \
68 }
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 policy
Definition switches.h:248

◆ TEXTURE_BINDING

#define TEXTURE_BINDING (   slot,
  type,
  policy 
)
Value:
{ \
/*type=*/ComputeStep::ResourceType::k##type##Texture, \
/*flow=*/ComputeStep::DataFlow::kShared, \
/*policy=*/ComputeStep::ResourcePolicy::k##policy, \
/*slot=*/kVelloSlot_##slot, \
}

Definition at line 70 of file VelloComputeSteps.cpp.

71 { \
72 /*type=*/ComputeStep::ResourceType::k##type##Texture, \
73 /*flow=*/ComputeStep::DataFlow::kShared, \
74 /*policy=*/ComputeStep::ResourcePolicy::k##policy, \
75 /*slot=*/kVelloSlot_##slot, \
76 }