#include "src/gpu/ganesh/GrPipeline.h"
#include "include/gpu/GpuTypes.h"
#include "include/private/base/SkAssert.h"
#include "src/gpu/Blend.h"
#include "src/gpu/KeyBuilder.h"
#include "src/gpu/ganesh/GrAppliedClip.h"
#include "src/gpu/ganesh/GrProcessorSet.h"
#include "src/gpu/ganesh/GrScissorState.h"
#include "src/gpu/ganesh/GrTexture.h"
#include "src/gpu/ganesh/GrXferProcessor.h"
#include "src/gpu/ganesh/glsl/GrGLSLProgramDataManager.h"
#include "src/gpu/ganesh/glsl/GrGLSLUniformHandler.h"
#include <utility>
GrPipeline::GrPipeline(const InitArgs& args,
sk_sp<const GrXferProcessor> xferProcessor,
const GrAppliedHardClip& hardClip)
: … { … }
GrPipeline::GrPipeline(const InitArgs& args, GrProcessorSet&& processors,
GrAppliedClip&& appliedClip)
: … { … }
GrXferBarrierType GrPipeline::xferBarrierType(const GrCaps& caps) const { … }
GrPipeline::GrPipeline(GrScissorTest scissorTest,
sk_sp<const GrXferProcessor> xp,
const skgpu::Swizzle& writeSwizzle,
InputFlags inputFlags)
: … { … }
void GrPipeline::genKey(skgpu::KeyBuilder* b, const GrCaps& caps) const { … }
void GrPipeline::visitTextureEffects(
const std::function<void(const GrTextureEffect&)>& func) const { … }
void GrPipeline::visitProxies(const GrVisitProxyFunc& func) const { … }
void GrPipeline::setDstTextureUniforms(const GrGLSLProgramDataManager& pdm,
GrGLSLBuiltinUniformHandles* fBuiltinUniformHandles) const { … }