Flutter Engine
The Flutter Engine
Namespaces | Functions
SkSLSwizzle.cpp File Reference
#include "src/sksl/ir/SkSLSwizzle.h"
#include "include/core/SkSpan.h"
#include "include/private/base/SkTArray.h"
#include "src/sksl/SkSLAnalysis.h"
#include "src/sksl/SkSLConstantFolder.h"
#include "src/sksl/SkSLContext.h"
#include "src/sksl/SkSLDefines.h"
#include "src/sksl/SkSLErrorReporter.h"
#include "src/sksl/SkSLOperator.h"
#include "src/sksl/SkSLString.h"
#include "src/sksl/ir/SkSLConstructorCompound.h"
#include "src/sksl/ir/SkSLConstructorCompoundCast.h"
#include "src/sksl/ir/SkSLConstructorScalarCast.h"
#include "src/sksl/ir/SkSLConstructorSplat.h"
#include "src/sksl/ir/SkSLLiteral.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  SkSL
 

Functions

static bool SkSL::validate_swizzle_domain (const ComponentArray &fields)
 
static char SkSL::mask_char (int8_t component)
 
static std::unique_ptr< Expression > SkSL::optimize_constructor_swizzle (const Context &context, Position pos, const ConstructorCompound &base, ComponentArray components)