Flutter Engine
The Flutter Engine
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::WorkgroupBufferDesc > skgpu::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, \
}
GLenum type
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

Definition at line 62 of file VelloComputeSteps.cpp.

◆ 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.