Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions | Variables
ShaderCodeDictionary.cpp File Reference
#include "src/gpu/graphite/ShaderCodeDictionary.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkTileMode.h"
#include "include/effects/SkRuntimeEffect.h"
#include "include/gpu/graphite/Context.h"
#include "src/core/SkColorSpacePriv.h"
#include "src/core/SkColorSpaceXformSteps.h"
#include "src/core/SkRuntimeEffectPriv.h"
#include "src/core/SkSLTypeShared.h"
#include "src/gpu/BlendFormula.h"
#include "src/gpu/Swizzle.h"
#include "src/gpu/graphite/Caps.h"
#include "src/gpu/graphite/ContextUtils.h"
#include "src/gpu/graphite/ReadSwizzle.h"
#include "src/gpu/graphite/Renderer.h"
#include "src/gpu/graphite/RuntimeEffectDictionary.h"
#include "src/sksl/SkSLString.h"
#include "src/sksl/SkSLUtil.h"
#include "src/sksl/codegen/SkSLPipelineStageCodeGenerator.h"
#include "src/sksl/ir/SkSLVarDeclarations.h"
#include <new>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Macros

#define M(type)   case StableKey::k##type : return "KnownRuntimeEffect_" #type;
 
#define M1(type)
 
#define M2(type, initializer)   case StableKey::k##type : return "KnownRuntimeEffect_" #type;
 

Functions

void skgpu::graphite::append_color_output (std::string *mainBody, BlendFormula::OutputType outputType, const char *outColor, const char *inColor)
 
static SkSLType skgpu::graphite::uniform_type_to_sksl_type (const SkRuntimeEffect::Uniform &u)
 

Variables

static constexpr int skgpu::graphite::kNoChildren = 0
 
static constexpr char skgpu::graphite::kRuntimeShaderName [] = "RuntimeEffect"
 
static constexpr Uniform skgpu::graphite::kRuntimeEffectColorSpaceTransformUniforms []
 

Macro Definition Documentation

◆ M

#define M (   type)    case StableKey::k##type : return "KnownRuntimeEffect_" #type;

◆ M1

#define M1 (   type)

◆ M2

#define M2 (   type,
  initializer 
)    case StableKey::k##type : return "KnownRuntimeEffect_" #type;