30 return keyView->clone(arena);
45 default:
return false;
73 int32_t invalidKeyData[3] = {(int32_t) BuiltInCodeSnippetID::kSolidColorShader,
75 (int32_t) BuiltInCodeSnippetID::kFixedFunctionSrcBlendMode};
86 int userSnippetID1 = dict->addRuntimeEffectSnippet(
"key1");
87 int userSnippetID2 = dict->addRuntimeEffectSnippet(
"key2");
109 ShaderInfo shaderInfo{paintID, dict,
nullptr,
""};
113 &expectedSrc, &expectedDst));
120 shaderInfo.blendInfo().fSrcBlend,
121 shaderInfo.blendInfo().fDstBlend);
DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS(KeyWithInvalidCodeSnippetIDTest, reporter, context, CtsEnforcement::kNextRelease)
SK_API bool SkBlendMode_AsCoeff(SkBlendMode mode, SkBlendModeCoeff *src, SkBlendModeCoeff *dst)
@ kLastCoeffMode
last porter duff blend mode
static size_t add_block(SkSBlockAllocator< N > &pool)
constexpr SkPMColor4f SK_PMColor4fTRANSPARENT
#define REPORTER_ASSERT(r, cond,...)
SkSpan< const ShaderNode * > getRootNodes(const ShaderCodeDictionary *, SkArenaAlloc *) const
UniquePaintParamsID findOrCreate(PaintParamsKeyBuilder *) SK_EXCLUDES(fSpinLock)
static constexpr int kSkiaBuiltInReservedCnt
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static constexpr int kFixedFunctionBlendModeIDOffset
static constexpr bool BlendModifiesDst(BlendEquation equation, BlendCoeff srcCoeff, BlendCoeff dstCoeff)