#include "src/gpu/ganesh/ops/AtlasInstancedHelper.h"
#include "include/core/SkSize.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/core/SkSLTypeShared.h"
#include "src/gpu/BufferWriter.h"
#include "src/gpu/KeyBuilder.h"
#include "src/gpu/ganesh/GrShaderVar.h"
#include "src/gpu/ganesh/glsl/GrGLSLFragmentShaderBuilder.h"
#include "src/gpu/ganesh/glsl/GrGLSLProgramDataManager.h"
#include "src/gpu/ganesh/glsl/GrGLSLVarying.h"
#include "src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.h"
usingnamespaceskia_private;
namespace skgpu::ganesh {
void AtlasInstancedHelper::getKeyBits(KeyBuilder* b) const { … }
void AtlasInstancedHelper::appendInstanceAttribs(
TArray<GrGeometryProcessor::Attribute>* instanceAttribs) const { … }
void AtlasInstancedHelper::writeInstanceData(VertexWriter* instanceWriter,
const Instance* i) const { … }
void AtlasInstancedHelper::injectShaderCode(
const GrGeometryProcessor::ProgramImpl::EmitArgs& args,
const GrShaderVar& devCoord,
GrGLSLUniformHandler::UniformHandle* atlasAdjustUniformHandle) const { … }
void AtlasInstancedHelper::setUniformData(
const GrGLSLProgramDataManager& pdman,
const GrGLSLUniformHandler::UniformHandle& atlasAdjustUniformHandle) const { … }
}