Flutter Engine
The Flutter Engine
|
#include "src/sksl/codegen/SkSLRasterPipelineBuilder.h"
#include "include/core/SkStream.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkTo.h"
#include "src/base/SkArenaAlloc.h"
#include "src/core/SkOpts.h"
#include "src/core/SkRasterPipelineContextUtils.h"
#include "src/core/SkRasterPipelineOpContexts.h"
#include "src/core/SkRasterPipelineOpList.h"
#include "src/core/SkTHash.h"
#include "src/sksl/SkSLPosition.h"
#include "src/sksl/SkSLString.h"
#include "src/sksl/tracing/SkSLDebugTracePriv.h"
#include "src/sksl/tracing/SkSLTraceHook.h"
#include "src/utils/SkBitSet.h"
#include "src/core/SkRasterPipeline.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <iterator>
#include <string>
#include <string_view>
#include <tuple>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | SkSL::RP::Program::Dumper |
Namespaces | |
namespace | SkSL |
namespace | SkSL::RP |
Macros | |
#define | ALL_SINGLE_SLOT_UNARY_OP_CASES |
#define | ALL_MULTI_SLOT_UNARY_OP_CASES |
#define | ALL_N_WAY_BINARY_OP_CASES |
#define | ALL_MULTI_SLOT_BINARY_OP_CASES |
#define | ALL_IMMEDIATE_BINARY_OP_CASES |
#define | ALL_IMMEDIATE_MULTI_SLOT_BINARY_OP_CASES BuilderOp::bitwise_and_imm_int |
#define | ALL_N_WAY_TERNARY_OP_CASES BuilderOp::smoothstep_n_floats |
#define | ALL_MULTI_SLOT_TERNARY_OP_CASES |
#define | M(x) case POp::x: opName = #x; break; |
Functions | |
static bool | SkSL::RP::is_immediate_op (BuilderOp op) |
static bool | SkSL::RP::is_multi_slot_immediate_op (BuilderOp op) |
static BuilderOp | SkSL::RP::convert_n_way_op_to_immediate (BuilderOp op, int slots, int32_t *constantValue) |
static bool | SkSL::RP::slot_ranges_overlap (SlotRange x, SlotRange y) |
static int | SkSL::RP::pack_nybbles (SkSpan< const int8_t > components) |
template<typename T > | |
static void | SkSL::RP::unpack_nybbles_to_offsets (uint32_t components, SkSpan< T > offsets) |
static int | SkSL::RP::max_packed_nybble (uint32_t components, size_t numComponents) |
static int | SkSL::RP::stack_usage (const Instruction &inst) |
static bool | SkSL::RP::immutable_data_is_splattable (int32_t *immutablePtr, int numSlots) |
static void * | SkSL::RP::context_bit_pun (intptr_t val) |
#define ALL_IMMEDIATE_BINARY_OP_CASES |
Definition at line 102 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_IMMEDIATE_MULTI_SLOT_BINARY_OP_CASES BuilderOp::bitwise_and_imm_int |
Definition at line 122 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_MULTI_SLOT_BINARY_OP_CASES |
Definition at line 71 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_MULTI_SLOT_TERNARY_OP_CASES |
Definition at line 128 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_MULTI_SLOT_UNARY_OP_CASES |
Definition at line 57 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_N_WAY_BINARY_OP_CASES |
Definition at line 67 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_N_WAY_TERNARY_OP_CASES BuilderOp::smoothstep_n_floats |
Definition at line 125 of file SkSLRasterPipelineBuilder.cpp.
#define ALL_SINGLE_SLOT_UNARY_OP_CASES |
Definition at line 44 of file SkSLRasterPipelineBuilder.cpp.