Home
last modified time | relevance | path

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

/external/skqp/src/shaders/
DSkLightingShader.cpp52 : fDiffuseShader(std::move(diffuseShader)) in SkLightingShaderImpl()
93 sk_sp<SkShader> fDiffuseShader;
290 if (fDiffuseShader) { in asFragmentProcessor()
292 as_SB(fDiffuseShader)->asFragmentProcessor(args), in asFragmentProcessor()
314 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false); in isOpaque()
449 buf.writeBool(static_cast<bool>(fDiffuseShader)); in flatten()
450 if (fDiffuseShader) { in flatten()
451 buf.writeFlattenable(fDiffuseShader.get()); in flatten()
460 if (fDiffuseShader) { in onMakeContext()
461 diffuseContext = as_SB(fDiffuseShader)->makeContext(rec, alloc); in onMakeContext()
[all …]
/external/skia/src/shaders/
DSkLightingShader.cpp52 : fDiffuseShader(std::move(diffuseShader)) in SkLightingShaderImpl()
93 sk_sp<SkShader> fDiffuseShader;
288 if (fDiffuseShader) { in asFragmentProcessor()
290 as_SB(fDiffuseShader)->asFragmentProcessor(args), in asFragmentProcessor()
312 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false); in isOpaque()
447 buf.writeBool(static_cast<bool>(fDiffuseShader)); in flatten()
448 if (fDiffuseShader) { in flatten()
449 buf.writeFlattenable(fDiffuseShader.get()); in flatten()
458 if (fDiffuseShader) { in onMakeContext()
459 diffuseContext = as_SB(fDiffuseShader)->makeContext(rec, alloc); in onMakeContext()
[all …]
/external/skqp/samplecode/
DSampleLighting.cpp41 fDiffuseShader = SkShader::MakeBitmapShader(diffuseBitmap, in LightingView()
72 paint.setShader(SkLightingShader::Make(fDiffuseShader, in onDrawContent()
96 sk_sp<SkShader> fDiffuseShader; member in LightingView
/external/skia/samplecode/
DSampleLighting.cpp41 fDiffuseShader = SkShader::MakeBitmapShader(diffuseBitmap, in LightingView()
72 paint.setShader(SkLightingShader::Make(fDiffuseShader, in onDrawContent()
96 sk_sp<SkShader> fDiffuseShader; member in LightingView