Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions | Variables
SkSLModuleLoader.cpp File Reference
#include "src/sksl/SkSLModuleLoader.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkMutex.h"
#include "src/base/SkNoDestructor.h"
#include "src/sksl/SkSLBuiltinTypes.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLModuleData.h"
#include "src/sksl/SkSLPosition.h"
#include "src/sksl/SkSLProgramKind.h"
#include "src/sksl/ir/SkSLIRNode.h"
#include "src/sksl/ir/SkSLLayout.h"
#include "src/sksl/ir/SkSLModifierFlags.h"
#include "src/sksl/ir/SkSLProgramElement.h"
#include "src/sksl/ir/SkSLSymbolTable.h"
#include "src/sksl/ir/SkSLType.h"
#include "src/sksl/ir/SkSLVariable.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  SkSL::ModuleLoader::Impl
 

Namespaces

namespace  SkSL
 

Macros

#define MODULE_DATA(name)   #name, GetModuleData(ModuleName::name, #name ".sksl")
 
#define TYPE(t)   &BuiltinTypes::f ## t
 

Functions

static std::unique_ptr< Module > SkSL::compile_and_shrink (SkSL::Compiler *compiler, ProgramKind kind, const char *moduleName, std::string moduleSource, const Module *parent)
 

Variables

static constexpr BuiltinTypePtr SkSL::kRootTypes []
 
static constexpr BuiltinTypePtr SkSL::kPrivateTypes []
 

Macro Definition Documentation

◆ MODULE_DATA

#define MODULE_DATA (   name)    #name, GetModuleData(ModuleName::name, #name ".sksl")

Definition at line 31 of file SkSLModuleLoader.cpp.

◆ TYPE

#define TYPE (   t)    &BuiltinTypes::f ## t

Definition at line 35 of file SkSLModuleLoader.cpp.