/* * Copyright 2021 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/shaders/SkTransformShader.h" #include "include/core/SkMatrix.h" #include "src/core/SkEffectPriv.h" #include "src/core/SkRasterPipeline.h" #include "src/core/SkRasterPipelineOpList.h" #include <optional> SkTransformShader::SkTransformShader(const SkShaderBase& shader, bool allowPerspective) : … { … } bool SkTransformShader::update(const SkMatrix& matrix) { … } bool SkTransformShader::appendStages(const SkStageRec& rec, const SkShaders::MatrixRec& mRec) const { … }