Lines Matching refs:SkLightingShaderImpl
41 class SK_API SkLightingShaderImpl : public SkShader { class
53 SkLightingShaderImpl(const SkBitmap& diffuse, const SkBitmap& normal, in SkLightingShaderImpl() function in SkLightingShaderImpl
88 LightingShaderContext(const SkLightingShaderImpl&, const ContextRec&,
105 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLightingShaderImpl)
354 const GrFragmentProcessor* SkLightingShaderImpl::asFragmentProcessor( in asFragmentProcessor()
415 bool SkLightingShaderImpl::isOpaque() const { in isOpaque()
419 size_t SkLightingShaderImpl::contextSize(const ContextRec&) const { in contextSize()
423 SkLightingShaderImpl::LightingShaderContext::LightingShaderContext(const SkLightingShaderImpl& shad… in LightingShaderContext()
443 SkLightingShaderImpl::LightingShaderContext::~LightingShaderContext() { in ~LightingShaderContext()
476 void SkLightingShaderImpl::LightingShaderContext::shadeSpan(int x, int y, in shadeSpan()
478 const SkLightingShaderImpl& lightShader = static_cast<const SkLightingShaderImpl&>(fShader); in shadeSpan()
556 void SkLightingShaderImpl::toString(SkString* str) const { in toString()
561 SkFlattenable* SkLightingShaderImpl::CreateProc(SkReadBuffer& buf) { in CreateProc()
615 return new SkLightingShaderImpl(diffuse, normal, lights, SkVector::Make(1.0f, 0.0f), in CreateProc()
619 void SkLightingShaderImpl::flatten(SkWriteBuffer& buf) const { in flatten()
645 bool SkLightingShaderImpl::computeNormTotalInverse(const ContextRec& rec, in computeNormTotalInverse()
658 SkShader::Context* SkLightingShaderImpl::onCreateContext(const ContextRec& rec, in onCreateContext()
717 return new SkLightingShaderImpl(diffuse, normal, lights, invNormRotation, diffLocalM, in Create()
724 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLightingShaderImpl)