Home
last modified time | relevance | path

Searched refs:fDiffuseShader (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/shaders/
DSkLightingShader.cpp51 : fDiffuseShader(std::move(diffuseShader)) in SkLightingShaderImpl()
91 sk_sp<SkShader> fDiffuseShader;
286 if (fDiffuseShader) { in asFragmentProcessor()
288 as_SB(fDiffuseShader)->asFragmentProcessor(args), in asFragmentProcessor()
310 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false); in isOpaque()
445 buf.writeBool(static_cast<bool>(fDiffuseShader)); in flatten()
446 if (fDiffuseShader) { in flatten()
447 buf.writeFlattenable(fDiffuseShader.get()); in flatten()
456 if (fDiffuseShader) { in onMakeContext()
457 diffuseContext = as_SB(fDiffuseShader)->makeContext(rec, alloc); in onMakeContext()
/third_party/flutter/skia/samplecode/
DSampleLighting.cpp46 fDiffuseShader = diffuseBitmap.makeShader(); in onOnceBeforeDraw()
62 paint.setShader(SkLightingShader::Make(fDiffuseShader, in onDrawContent()
86 sk_sp<SkShader> fDiffuseShader; member in LightingView