#include "src/gpu/graphite/PaintParamsKey.h"
#include "src/base/SkArenaAlloc.h"
#include "src/base/SkStringView.h"
#include "src/gpu/graphite/Caps.h"
#include "src/gpu/graphite/KeyHelpers.h"
#include "src/gpu/graphite/Log.h"
#include "src/gpu/graphite/ShaderCodeDictionary.h"
usingnamespaceskia_private;
namespace skgpu::graphite {
#ifdef SK_DEBUG
void PaintParamsKeyBuilder::checkReset() { … }
void PaintParamsKeyBuilder::pushStack(int32_t codeSnippetID) { … }
void PaintParamsKeyBuilder::validateData(size_t dataSize) { … }
void PaintParamsKeyBuilder::popStack() { … }
#endif
PaintParamsKey PaintParamsKey::clone(SkArenaAlloc* arena) const { … }
const ShaderNode* PaintParamsKey::createNode(const ShaderCodeDictionary* dict,
int* currentIndex,
SkArenaAlloc* arena) const { … }
SkSpan<const ShaderNode*> PaintParamsKey::getRootNodes(const ShaderCodeDictionary* dict,
SkArenaAlloc* arena) const { … }
static int key_to_string(SkString* str,
const ShaderCodeDictionary* dict,
SkSpan<const uint32_t> keyData,
int currentIndex,
bool includeData) { … }
SkString PaintParamsKey::toString(const ShaderCodeDictionary* dict, bool includeData) const { … }
#ifdef SK_DEBUG
static int dump_node(const ShaderCodeDictionary* dict,
SkSpan<const uint32_t> keyData,
int currentIndex,
int indent) { … }
void PaintParamsKey::dump(const ShaderCodeDictionary* dict, UniquePaintParamsID id) const { … }
#endif
}