blob: 7fb351cdea05fad7fe1857c10dabc271baccca6f [file] [log] [blame]
Chris Dalton70a0d2c2021-01-26 12:01:21 -07001/*
2 * Copyright 2021 Google LLC.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
Robert Phillipse453fa02021-08-19 14:57:05 -04008#include "src/gpu/ops/PathStencilCoverOp.h"
Chris Dalton70a0d2c2021-01-26 12:01:21 -07009
10#include "src/gpu/GrEagerVertexAllocator.h"
Chris Daltond9bdc322021-06-01 19:22:05 -060011#include "src/gpu/GrGpu.h"
Chris Dalton70a0d2c2021-01-26 12:01:21 -070012#include "src/gpu/GrOpFlushState.h"
13#include "src/gpu/GrRecordingContextPriv.h"
Robert Phillips1a82a4e2021-07-01 10:27:44 -040014#include "src/gpu/GrResourceProvider.h"
Chris Dalton8aec1242021-07-19 11:10:45 -060015#include "src/gpu/glsl/GrGLSLFragmentShaderBuilder.h"
16#include "src/gpu/glsl/GrGLSLVarying.h"
Chris Dalton2f733ec2021-06-01 12:11:57 -060017#include "src/gpu/glsl/GrGLSLVertexGeoBuilder.h"
Robert Phillips06273bc2021-08-11 15:43:50 -040018#include "src/gpu/ops/GrSimpleMeshDrawOpHelper.h"
Chris Dalton70a0d2c2021-01-26 12:01:21 -070019#include "src/gpu/tessellate/GrMiddleOutPolygonTriangulator.h"
Chris Daltond9bdc322021-06-01 19:22:05 -060020#include "src/gpu/tessellate/GrPathCurveTessellator.h"
Chris Daltond9bdc322021-06-01 19:22:05 -060021#include "src/gpu/tessellate/GrPathWedgeTessellator.h"
Chris Dalton3b412782021-06-01 13:40:03 -060022#include "src/gpu/tessellate/shaders/GrPathTessellationShader.h"
Chris Dalton70a0d2c2021-01-26 12:01:21 -070023
Robert Phillips832f3fb2021-08-18 13:05:15 -040024using PathFlags = GrTessellationPathFlags;
Chris Dalton70a0d2c2021-01-26 12:01:21 -070025
Chris Dalton2f733ec2021-06-01 12:11:57 -060026namespace {
27
28// Fills a path's bounding box, with subpixel outset to avoid possible T-junctions with extreme
29// edges of the path.
30// NOTE: The emitted geometry may not be axis-aligned, depending on the view matrix.
Chris Dalton8aec1242021-07-19 11:10:45 -060031class BoundingBoxShader : public GrGeometryProcessor {
Chris Dalton2f733ec2021-06-01 12:11:57 -060032public:
Chris Daltone909e1e2021-07-27 13:23:18 -060033 BoundingBoxShader(SkPMColor4f color, const GrShaderCaps& shaderCaps)
Chris Dalton8aec1242021-07-19 11:10:45 -060034 : GrGeometryProcessor(kTessellate_BoundingBoxShader_ClassID)
Chris Dalton8aec1242021-07-19 11:10:45 -060035 , fColor(color) {
Chris Daltona05ccc32021-06-29 19:42:13 -060036 if (!shaderCaps.vertexIDSupport()) {
37 constexpr static Attribute kUnitCoordAttrib("unitCoord", kFloat2_GrVertexAttribType,
38 kFloat2_GrSLType);
39 this->setVertexAttributes(&kUnitCoordAttrib, 1);
40 }
Chris Daltone909e1e2021-07-27 13:23:18 -060041 constexpr static Attribute kInstanceAttribs[] = {
42 {"matrix2d", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
43 {"translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
44 {"pathBounds", kFloat4_GrVertexAttribType, kFloat4_GrSLType}
45 };
46 this->setInstanceAttributes(kInstanceAttribs, SK_ARRAY_COUNT(kInstanceAttribs));
Chris Dalton2f733ec2021-06-01 12:11:57 -060047 }
48
49private:
Chris Daltonb63711a2021-06-01 14:52:02 -060050 const char* name() const final { return "tessellate_BoundingBoxShader"; }
Brian Salomon13b28732021-08-06 15:33:58 -040051 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const final {}
Brian Salomonf95940b2021-08-09 15:56:24 -040052 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final;
Chris Dalton8aec1242021-07-19 11:10:45 -060053
Chris Dalton8aec1242021-07-19 11:10:45 -060054 const SkPMColor4f fColor;
Chris Dalton2f733ec2021-06-01 12:11:57 -060055};
56
Brian Salomonf95940b2021-08-09 15:56:24 -040057std::unique_ptr<GrGeometryProcessor::ProgramImpl> BoundingBoxShader::makeProgramImpl(
58 const GrShaderCaps&) const {
59 class Impl : public ProgramImpl {
Brian Salomonbab2d112021-08-11 09:59:56 -040060 public:
61 void setData(const GrGLSLProgramDataManager& pdman,
62 const GrShaderCaps&,
63 const GrGeometryProcessor& gp) override {
64 const SkPMColor4f& color = gp.cast<BoundingBoxShader>().fColor;
65 pdman.set4f(fColorUniform, color.fR, color.fG, color.fB, color.fA);
66 }
67
68 private:
Chris Dalton8aec1242021-07-19 11:10:45 -060069 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final {
70 args.fVaryingHandler->emitAttributes(args.fGeomProc);
71
72 // Vertex shader.
Chris Dalton8aec1242021-07-19 11:10:45 -060073 if (args.fShaderCaps->vertexIDSupport()) {
Chris Daltona05ccc32021-06-29 19:42:13 -060074 // If we don't have sk_VertexID support then "unitCoord" already came in as a vertex
75 // attrib.
Chris Daltone909e1e2021-07-27 13:23:18 -060076 args.fVertBuilder->codeAppend(R"(
Chris Daltona05ccc32021-06-29 19:42:13 -060077 float2 unitCoord = float2(sk_VertexID & 1, sk_VertexID >> 1);)");
78 }
Chris Daltone909e1e2021-07-27 13:23:18 -060079 args.fVertBuilder->codeAppend(R"(
Chris Dalton8aec1242021-07-19 11:10:45 -060080 // Bloat the bounding box by 1/4px to be certain we will reset every stencil value.
Chris Daltone909e1e2021-07-27 13:23:18 -060081 float2x2 M_ = inverse(float2x2(matrix2d));
Chris Dalton2f733ec2021-06-01 12:11:57 -060082 float2 bloat = float2(abs(M_[0]) + abs(M_[1])) * .25;
83
84 // Find the vertex position.
Chris Daltona05ccc32021-06-29 19:42:13 -060085 float2 localcoord = mix(pathBounds.xy - bloat, pathBounds.zw + bloat, unitCoord);
Chris Daltone909e1e2021-07-27 13:23:18 -060086 float2 vertexpos = float2x2(matrix2d) * localcoord + translate;)");
Chris Dalton2f733ec2021-06-01 12:11:57 -060087 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord");
88 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos");
Chris Dalton8aec1242021-07-19 11:10:45 -060089
90 // Fragment shader.
91 const char* color;
92 fColorUniform = args.fUniformHandler->addUniform(nullptr, kFragment_GrShaderFlag,
93 kHalf4_GrSLType, "color", &color);
94 args.fFragBuilder->codeAppendf("half4 %s = %s;", args.fOutputColor, color);
95 args.fFragBuilder->codeAppendf("const half4 %s = half4(1);", args.fOutputCoverage);
Chris Dalton2f733ec2021-06-01 12:11:57 -060096 }
Chris Dalton8aec1242021-07-19 11:10:45 -060097
Chris Dalton8aec1242021-07-19 11:10:45 -060098 GrGLSLUniformHandler::UniformHandle fColorUniform;
Chris Dalton2f733ec2021-06-01 12:11:57 -060099 };
Chris Dalton8aec1242021-07-19 11:10:45 -0600100
Brian Salomonf95940b2021-08-09 15:56:24 -0400101 return std::make_unique<Impl>();
Chris Dalton2f733ec2021-06-01 12:11:57 -0600102}
103
104} // namespace
105
Robert Phillips294723d2021-06-17 09:23:58 -0400106void GrPathStencilCoverOp::visitProxies(const GrVisitProxyFunc& func) const {
Chris Dalton031d76b2021-06-08 16:32:00 -0600107 if (fCoverBBoxProgram) {
Robert Phillips294723d2021-06-17 09:23:58 -0400108 fCoverBBoxProgram->pipeline().visitProxies(func);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700109 } else {
Robert Phillips294723d2021-06-17 09:23:58 -0400110 fProcessors.visitProxies(func);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700111 }
112}
113
Chris Dalton031d76b2021-06-08 16:32:00 -0600114GrDrawOp::FixedFunctionFlags GrPathStencilCoverOp::fixedFunctionFlags() const {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700115 auto flags = FixedFunctionFlags::kUsesStencil;
116 if (fAAType != GrAAType::kNone) {
117 flags |= FixedFunctionFlags::kUsesHWAA;
118 }
119 return flags;
120}
121
Chris Dalton031d76b2021-06-08 16:32:00 -0600122GrProcessorSet::Analysis GrPathStencilCoverOp::finalize(const GrCaps& caps,
123 const GrAppliedClip* clip,
124 GrClampType clampType) {
Chris Dalton57ab06c2021-04-22 12:57:28 -0600125 return fProcessors.finalize(fColor, GrProcessorAnalysisCoverage::kNone, clip, nullptr, caps,
126 clampType, &fColor);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700127}
128
Chris Dalton031d76b2021-06-08 16:32:00 -0600129void GrPathStencilCoverOp::prePreparePrograms(const GrTessellationShader::ProgramArgs& args,
130 GrAppliedClip&& appliedClip) {
Chris Dalton569c01b2021-05-25 10:11:46 -0600131 SkASSERT(!fTessellator);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700132 SkASSERT(!fStencilFanProgram);
133 SkASSERT(!fStencilPathProgram);
Chris Dalton031d76b2021-06-08 16:32:00 -0600134 SkASSERT(!fCoverBBoxProgram);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700135
Chris Dalton69669812021-07-27 10:00:12 -0600136 // We transform paths on the CPU. This allows for better batching.
137 const SkMatrix& shaderMatrix = SkMatrix::I();
Chris Dalton2f733ec2021-06-01 12:11:57 -0600138 const GrPipeline* stencilPipeline = GrPathTessellationShader::MakeStencilOnlyPipeline(
Chris Dalton917f9192021-06-08 14:32:37 -0600139 args, fAAType, fPathFlags, appliedClip.hardClip());
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600140 const GrUserStencilSettings* stencilSettings = GrPathTessellationShader::StencilPathSettings(
141 GrFillRuleForPathFillType(this->pathFillType()));
Chris Dalton569c01b2021-05-25 10:11:46 -0600142
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600143 if (fTotalCombinedPathVerbCnt > 50 &&
144 this->bounds().height() * this->bounds().width() > 256 * 256) {
Chris Daltond2b8ba32021-06-09 00:12:59 -0600145 // Large complex paths do better with a dedicated triangle shader for the inner fan.
146 // This takes less PCI bus bandwidth (6 floats per triangle instead of 8) and allows us
147 // to make sure it has an efficient middle-out topology.
Chris Dalton69669812021-07-27 10:00:12 -0600148 auto shader = GrPathTessellationShader::MakeSimpleTriangleShader(args.fArena,
149 shaderMatrix,
150 SK_PMColor4fTRANSPARENT);
151 fStencilFanProgram = GrTessellationShader::MakeProgram(args,
152 shader,
153 stencilPipeline,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600154 stencilSettings);
Chris Dalton69669812021-07-27 10:00:12 -0600155 fTessellator = GrPathCurveTessellator::Make(args.fArena,
156 shaderMatrix,
Chris Daltond2b8ba32021-06-09 00:12:59 -0600157 SK_PMColor4fTRANSPARENT,
158 GrPathCurveTessellator::DrawInnerFan::kNo,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600159 fTotalCombinedPathVerbCnt,
Chris Dalton69669812021-07-27 10:00:12 -0600160 *stencilPipeline,
Chris Dalton198ac152021-06-09 13:49:43 -0600161 *args.fCaps);
Chris Dalton917f9192021-06-08 14:32:37 -0600162 } else {
Chris Dalton69669812021-07-27 10:00:12 -0600163 fTessellator = GrPathWedgeTessellator::Make(args.fArena,
164 shaderMatrix,
165 SK_PMColor4fTRANSPARENT,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600166 fTotalCombinedPathVerbCnt,
Chris Dalton69669812021-07-27 10:00:12 -0600167 *stencilPipeline,
168 *args.fCaps);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700169 }
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600170 fStencilPathProgram = GrTessellationShader::MakeProgram(args,
171 fTessellator->shader(),
172 stencilPipeline,
173 stencilSettings);
Chris Dalton569c01b2021-05-25 10:11:46 -0600174
Chris Dalton917f9192021-06-08 14:32:37 -0600175 if (!(fPathFlags & PathFlags::kStencilOnly)) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700176 // Create a program that draws a bounding box over the path and fills its stencil coverage
177 // into the color buffer.
Chris Daltone909e1e2021-07-27 13:23:18 -0600178 auto* bboxShader = args.fArena->make<BoundingBoxShader>(fColor, *args.fCaps->shaderCaps());
Chris Dalton2f733ec2021-06-01 12:11:57 -0600179 auto* bboxPipeline = GrTessellationShader::MakePipeline(args, fAAType,
180 std::move(appliedClip),
181 std::move(fProcessors));
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600182 auto* bboxStencil = GrPathTessellationShader::TestAndResetStencilSettings(
183 SkPathFillType_IsInverse(this->pathFillType()));
Chris Dalton8aec1242021-07-19 11:10:45 -0600184 fCoverBBoxProgram = GrSimpleMeshDrawOpHelper::CreateProgramInfo(
185 args.fArena,
186 bboxPipeline,
187 args.fWriteView,
188 bboxShader,
189 GrPrimitiveType::kTriangleStrip,
190 args.fXferBarrierFlags,
191 args.fColorLoadOp,
192 bboxStencil);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700193 }
194}
195
Chris Dalton031d76b2021-06-08 16:32:00 -0600196void GrPathStencilCoverOp::onPrePrepare(GrRecordingContext* context,
197 const GrSurfaceProxyView& writeView, GrAppliedClip* clip,
198 const GrDstProxyView& dstProxyView,
199 GrXferBarrierFlags renderPassXferBarriers,
200 GrLoadOp colorLoadOp) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700201 this->prePreparePrograms({context->priv().recordTimeAllocator(), writeView, &dstProxyView,
202 renderPassXferBarriers, colorLoadOp, context->priv().caps()},
203 (clip) ? std::move(*clip) : GrAppliedClip::Disabled());
204 if (fStencilFanProgram) {
205 context->priv().recordProgramInfo(fStencilFanProgram);
206 }
207 if (fStencilPathProgram) {
208 context->priv().recordProgramInfo(fStencilPathProgram);
209 }
Chris Dalton031d76b2021-06-08 16:32:00 -0600210 if (fCoverBBoxProgram) {
211 context->priv().recordProgramInfo(fCoverBBoxProgram);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700212 }
213}
214
Chris Daltona05ccc32021-06-29 19:42:13 -0600215GR_DECLARE_STATIC_UNIQUE_KEY(gUnitQuadBufferKey);
216
Chris Dalton031d76b2021-06-08 16:32:00 -0600217void GrPathStencilCoverOp::onPrepare(GrOpFlushState* flushState) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700218 if (!fTessellator) {
219 this->prePreparePrograms({flushState->allocator(), flushState->writeView(),
220 &flushState->dstProxyView(), flushState->renderPassBarriers(),
221 flushState->colorLoadOp(), &flushState->caps()},
222 flushState->detachAppliedClip());
223 if (!fTessellator) {
224 return;
225 }
226 }
227
228 if (fStencilFanProgram) {
229 // The inner fan isn't built into the tessellator. Generate a standard Redbook fan with a
230 // middle-out topology.
231 GrEagerDynamicVertexAllocator vertexAlloc(flushState, &fFanBuffer, &fFanBaseVertex);
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600232 int maxCombinedFanEdges =
233 GrPathTessellator::MaxCombinedFanEdgesInPathDrawList(fTotalCombinedPathVerbCnt);
234 // A single n-sided polygon is fanned by n-2 triangles. Multiple polygons with a combined
235 // edge count of n are fanned by strictly fewer triangles.
236 int maxTrianglesInFans = std::max(maxCombinedFanEdges - 2, 0);
237 GrVertexWriter triangleVertexWriter = vertexAlloc.lock<SkPoint>(maxTrianglesInFans * 3);
238 int fanTriangleCount = 0;
239 for (auto [pathMatrix, path] : *fPathDrawList) {
240 int numTrianglesWritten;
241 triangleVertexWriter = GrMiddleOutPolygonTriangulator::WritePathInnerFan(
242 std::move(triangleVertexWriter),
243 0,
244 0,
245 pathMatrix,
246 path,
247 &numTrianglesWritten);
248 fanTriangleCount += numTrianglesWritten;
249 }
250 SkASSERT(fanTriangleCount <= maxTrianglesInFans);
251 fFanVertexCount = fanTriangleCount * 3;
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700252 vertexAlloc.unlock(fFanVertexCount);
253 }
254
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600255 fTessellator->prepare(flushState, this->bounds(), *fPathDrawList, fTotalCombinedPathVerbCnt);
Chris Daltonc91dd692021-05-24 15:04:47 -0600256
Chris Dalton031d76b2021-06-08 16:32:00 -0600257 if (fCoverBBoxProgram) {
Chris Daltone909e1e2021-07-27 13:23:18 -0600258 size_t instanceStride = fCoverBBoxProgram->geomProc().instanceStride();
259 GrVertexWriter vertexWriter = flushState->makeVertexSpace(
260 instanceStride,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600261 fPathCount,
Chris Daltone909e1e2021-07-27 13:23:18 -0600262 &fBBoxBuffer,
263 &fBBoxBaseInstance);
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600264 SkDEBUGCODE(int pathCount = 0;)
265 for (auto [pathMatrix, path] : *fPathDrawList) {
266 SkDEBUGCODE(auto end = vertexWriter.makeOffset(instanceStride));
267 vertexWriter.write(pathMatrix.getScaleX(),
268 pathMatrix.getSkewY(),
269 pathMatrix.getSkewX(),
270 pathMatrix.getScaleY(),
271 pathMatrix.getTranslateX(),
272 pathMatrix.getTranslateY());
273 if (path.isInverseFillType()) {
274 // Fill the entire backing store to make sure we clear every stencil value back to
275 // 0. If there is a scissor it will have already clipped the stencil draw.
276 auto rtBounds =
277 flushState->writeView().asRenderTargetProxy()->backingStoreBoundsRect();
278 SkASSERT(rtBounds == fOriginalDrawBounds);
279 SkRect pathSpaceRTBounds;
280 if (SkMatrixPriv::InverseMapRect(pathMatrix, &pathSpaceRTBounds, rtBounds)) {
281 vertexWriter.write(pathSpaceRTBounds);
282 } else {
283 vertexWriter.write(path.getBounds());
284 }
Chris Daltonbaae2dd2021-06-25 14:52:49 -0600285 } else {
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600286 vertexWriter.write(path.getBounds());
Chris Daltonbaae2dd2021-06-25 14:52:49 -0600287 }
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600288 SkASSERT(vertexWriter == end);
289 SkDEBUGCODE(++pathCount;)
Chris Daltonbaae2dd2021-06-25 14:52:49 -0600290 }
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600291 SkASSERT(pathCount == fPathCount);
Chris Daltonc91dd692021-05-24 15:04:47 -0600292 }
Chris Daltona05ccc32021-06-29 19:42:13 -0600293
294 if (!flushState->caps().shaderCaps()->vertexIDSupport()) {
295 constexpr static SkPoint kUnitQuad[4] = {{0,0}, {0,1}, {1,0}, {1,1}};
296
297 GR_DEFINE_STATIC_UNIQUE_KEY(gUnitQuadBufferKey);
298
299 fBBoxVertexBufferIfNoIDSupport = flushState->resourceProvider()->findOrMakeStaticBuffer(
300 GrGpuBufferType::kVertex, sizeof(kUnitQuad), kUnitQuad, gUnitQuadBufferKey);
301 }
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700302}
303
Chris Dalton031d76b2021-06-08 16:32:00 -0600304void GrPathStencilCoverOp::onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700305 if (!fTessellator) {
306 return;
307 }
308
309 // Stencil the inner fan, if any.
310 if (fFanVertexCount > 0) {
311 SkASSERT(fStencilFanProgram);
312 SkASSERT(fFanBuffer);
313 flushState->bindPipelineAndScissorClip(*fStencilFanProgram, this->bounds());
314 flushState->bindBuffers(nullptr, nullptr, fFanBuffer);
315 flushState->draw(fFanVertexCount, fFanBaseVertex);
316 }
317
318 // Stencil the rest of the path.
319 SkASSERT(fStencilPathProgram);
320 flushState->bindPipelineAndScissorClip(*fStencilPathProgram, this->bounds());
321 fTessellator->draw(flushState);
Chris Daltond9bdc322021-06-01 19:22:05 -0600322 if (flushState->caps().requiresManualFBBarrierAfterTessellatedStencilDraw()) {
323 flushState->gpu()->insertManualFramebufferBarrier(); // http://skbug.com/9739
324 }
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700325
326 // Fill in the bounding box (if not in stencil-only mode).
Chris Dalton031d76b2021-06-08 16:32:00 -0600327 if (fCoverBBoxProgram) {
328 flushState->bindPipelineAndScissorClip(*fCoverBBoxProgram, this->bounds());
329 flushState->bindTextures(fCoverBBoxProgram->geomProc(), nullptr,
330 fCoverBBoxProgram->pipeline());
Chris Daltona05ccc32021-06-29 19:42:13 -0600331 flushState->bindBuffers(nullptr, fBBoxBuffer, fBBoxVertexBufferIfNoIDSupport);
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600332 flushState->drawInstanced(fPathCount, fBBoxBaseInstance, 4, 0);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700333 }
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700334}