blob: ddeadc9e59d4369f323adcb5d9252d9ca63fa4a2 [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
Chris Dalton031d76b2021-06-08 16:32:00 -06008#include "src/gpu/tessellate/GrPathStencilCoverOp.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"
Chris Dalton70a0d2c2021-01-26 12:01:21 -070018#include "src/gpu/tessellate/GrMiddleOutPolygonTriangulator.h"
Chris Daltond9bdc322021-06-01 19:22:05 -060019#include "src/gpu/tessellate/GrPathCurveTessellator.h"
Chris Daltond9bdc322021-06-01 19:22:05 -060020#include "src/gpu/tessellate/GrPathWedgeTessellator.h"
Chris Dalton70a0d2c2021-01-26 12:01:21 -070021#include "src/gpu/tessellate/GrTessellationPathRenderer.h"
Chris Dalton3b412782021-06-01 13:40:03 -060022#include "src/gpu/tessellate/shaders/GrPathTessellationShader.h"
Chris Dalton70a0d2c2021-01-26 12:01:21 -070023
Chris Dalton917f9192021-06-08 14:32:37 -060024using PathFlags = GrTessellationPathRenderer::PathFlags;
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 {}
Chris Dalton2f733ec2021-06-01 12:11:57 -060052 GrGLSLGeometryProcessor* createGLSLInstance(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
57GrGLSLGeometryProcessor* BoundingBoxShader::createGLSLInstance(const GrShaderCaps&) const {
Chris Dalton8aec1242021-07-19 11:10:45 -060058 class Impl : public GrGLSLGeometryProcessor {
59 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final {
60 args.fVaryingHandler->emitAttributes(args.fGeomProc);
61
62 // Vertex shader.
Chris Dalton8aec1242021-07-19 11:10:45 -060063 if (args.fShaderCaps->vertexIDSupport()) {
Chris Daltona05ccc32021-06-29 19:42:13 -060064 // If we don't have sk_VertexID support then "unitCoord" already came in as a vertex
65 // attrib.
Chris Daltone909e1e2021-07-27 13:23:18 -060066 args.fVertBuilder->codeAppend(R"(
Chris Daltona05ccc32021-06-29 19:42:13 -060067 float2 unitCoord = float2(sk_VertexID & 1, sk_VertexID >> 1);)");
68 }
Chris Daltone909e1e2021-07-27 13:23:18 -060069 args.fVertBuilder->codeAppend(R"(
Chris Dalton8aec1242021-07-19 11:10:45 -060070 // Bloat the bounding box by 1/4px to be certain we will reset every stencil value.
Chris Daltone909e1e2021-07-27 13:23:18 -060071 float2x2 M_ = inverse(float2x2(matrix2d));
Chris Dalton2f733ec2021-06-01 12:11:57 -060072 float2 bloat = float2(abs(M_[0]) + abs(M_[1])) * .25;
73
74 // Find the vertex position.
Chris Daltona05ccc32021-06-29 19:42:13 -060075 float2 localcoord = mix(pathBounds.xy - bloat, pathBounds.zw + bloat, unitCoord);
Chris Daltone909e1e2021-07-27 13:23:18 -060076 float2 vertexpos = float2x2(matrix2d) * localcoord + translate;)");
Chris Dalton2f733ec2021-06-01 12:11:57 -060077 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord");
78 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos");
Chris Dalton8aec1242021-07-19 11:10:45 -060079
80 // Fragment shader.
81 const char* color;
82 fColorUniform = args.fUniformHandler->addUniform(nullptr, kFragment_GrShaderFlag,
83 kHalf4_GrSLType, "color", &color);
84 args.fFragBuilder->codeAppendf("half4 %s = %s;", args.fOutputColor, color);
85 args.fFragBuilder->codeAppendf("const half4 %s = half4(1);", args.fOutputCoverage);
Chris Dalton2f733ec2021-06-01 12:11:57 -060086 }
Chris Dalton8aec1242021-07-19 11:10:45 -060087
88 void setData(const GrGLSLProgramDataManager& pdman, const GrShaderCaps&,
89 const GrGeometryProcessor& gp) override {
Chris Daltone909e1e2021-07-27 13:23:18 -060090 const SkPMColor4f& color = gp.cast<BoundingBoxShader>().fColor;
Chris Dalton8aec1242021-07-19 11:10:45 -060091 pdman.set4f(fColorUniform, color.fR, color.fG, color.fB, color.fA);
92 }
93
Chris Dalton8aec1242021-07-19 11:10:45 -060094 GrGLSLUniformHandler::UniformHandle fColorUniform;
Chris Dalton2f733ec2021-06-01 12:11:57 -060095 };
Chris Dalton8aec1242021-07-19 11:10:45 -060096
Chris Dalton2f733ec2021-06-01 12:11:57 -060097 return new Impl;
98}
99
100} // namespace
101
Robert Phillips294723d2021-06-17 09:23:58 -0400102void GrPathStencilCoverOp::visitProxies(const GrVisitProxyFunc& func) const {
Chris Dalton031d76b2021-06-08 16:32:00 -0600103 if (fCoverBBoxProgram) {
Robert Phillips294723d2021-06-17 09:23:58 -0400104 fCoverBBoxProgram->pipeline().visitProxies(func);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700105 } else {
Robert Phillips294723d2021-06-17 09:23:58 -0400106 fProcessors.visitProxies(func);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700107 }
108}
109
Chris Dalton031d76b2021-06-08 16:32:00 -0600110GrDrawOp::FixedFunctionFlags GrPathStencilCoverOp::fixedFunctionFlags() const {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700111 auto flags = FixedFunctionFlags::kUsesStencil;
112 if (fAAType != GrAAType::kNone) {
113 flags |= FixedFunctionFlags::kUsesHWAA;
114 }
115 return flags;
116}
117
Chris Dalton031d76b2021-06-08 16:32:00 -0600118GrProcessorSet::Analysis GrPathStencilCoverOp::finalize(const GrCaps& caps,
119 const GrAppliedClip* clip,
120 GrClampType clampType) {
Chris Dalton57ab06c2021-04-22 12:57:28 -0600121 return fProcessors.finalize(fColor, GrProcessorAnalysisCoverage::kNone, clip, nullptr, caps,
122 clampType, &fColor);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700123}
124
Chris Dalton031d76b2021-06-08 16:32:00 -0600125void GrPathStencilCoverOp::prePreparePrograms(const GrTessellationShader::ProgramArgs& args,
126 GrAppliedClip&& appliedClip) {
Chris Dalton569c01b2021-05-25 10:11:46 -0600127 SkASSERT(!fTessellator);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700128 SkASSERT(!fStencilFanProgram);
129 SkASSERT(!fStencilPathProgram);
Chris Dalton031d76b2021-06-08 16:32:00 -0600130 SkASSERT(!fCoverBBoxProgram);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700131
Chris Dalton69669812021-07-27 10:00:12 -0600132 // We transform paths on the CPU. This allows for better batching.
133 const SkMatrix& shaderMatrix = SkMatrix::I();
Chris Dalton2f733ec2021-06-01 12:11:57 -0600134 const GrPipeline* stencilPipeline = GrPathTessellationShader::MakeStencilOnlyPipeline(
Chris Dalton917f9192021-06-08 14:32:37 -0600135 args, fAAType, fPathFlags, appliedClip.hardClip());
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600136 const GrUserStencilSettings* stencilSettings = GrPathTessellationShader::StencilPathSettings(
137 GrFillRuleForPathFillType(this->pathFillType()));
Chris Dalton569c01b2021-05-25 10:11:46 -0600138
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600139 if (fTotalCombinedPathVerbCnt > 50 &&
140 this->bounds().height() * this->bounds().width() > 256 * 256) {
Chris Daltond2b8ba32021-06-09 00:12:59 -0600141 // Large complex paths do better with a dedicated triangle shader for the inner fan.
142 // This takes less PCI bus bandwidth (6 floats per triangle instead of 8) and allows us
143 // to make sure it has an efficient middle-out topology.
Chris Dalton69669812021-07-27 10:00:12 -0600144 auto shader = GrPathTessellationShader::MakeSimpleTriangleShader(args.fArena,
145 shaderMatrix,
146 SK_PMColor4fTRANSPARENT);
147 fStencilFanProgram = GrTessellationShader::MakeProgram(args,
148 shader,
149 stencilPipeline,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600150 stencilSettings);
Chris Dalton69669812021-07-27 10:00:12 -0600151 fTessellator = GrPathCurveTessellator::Make(args.fArena,
152 shaderMatrix,
Chris Daltond2b8ba32021-06-09 00:12:59 -0600153 SK_PMColor4fTRANSPARENT,
154 GrPathCurveTessellator::DrawInnerFan::kNo,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600155 fTotalCombinedPathVerbCnt,
Chris Dalton69669812021-07-27 10:00:12 -0600156 *stencilPipeline,
Chris Dalton198ac152021-06-09 13:49:43 -0600157 *args.fCaps);
Chris Dalton917f9192021-06-08 14:32:37 -0600158 } else {
Chris Dalton69669812021-07-27 10:00:12 -0600159 fTessellator = GrPathWedgeTessellator::Make(args.fArena,
160 shaderMatrix,
161 SK_PMColor4fTRANSPARENT,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600162 fTotalCombinedPathVerbCnt,
Chris Dalton69669812021-07-27 10:00:12 -0600163 *stencilPipeline,
164 *args.fCaps);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700165 }
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600166 fStencilPathProgram = GrTessellationShader::MakeProgram(args,
167 fTessellator->shader(),
168 stencilPipeline,
169 stencilSettings);
Chris Dalton569c01b2021-05-25 10:11:46 -0600170
Chris Dalton917f9192021-06-08 14:32:37 -0600171 if (!(fPathFlags & PathFlags::kStencilOnly)) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700172 // Create a program that draws a bounding box over the path and fills its stencil coverage
173 // into the color buffer.
Chris Daltone909e1e2021-07-27 13:23:18 -0600174 auto* bboxShader = args.fArena->make<BoundingBoxShader>(fColor, *args.fCaps->shaderCaps());
Chris Dalton2f733ec2021-06-01 12:11:57 -0600175 auto* bboxPipeline = GrTessellationShader::MakePipeline(args, fAAType,
176 std::move(appliedClip),
177 std::move(fProcessors));
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600178 auto* bboxStencil = GrPathTessellationShader::TestAndResetStencilSettings(
179 SkPathFillType_IsInverse(this->pathFillType()));
Chris Dalton8aec1242021-07-19 11:10:45 -0600180 fCoverBBoxProgram = GrSimpleMeshDrawOpHelper::CreateProgramInfo(
181 args.fArena,
182 bboxPipeline,
183 args.fWriteView,
184 bboxShader,
185 GrPrimitiveType::kTriangleStrip,
186 args.fXferBarrierFlags,
187 args.fColorLoadOp,
188 bboxStencil);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700189 }
190}
191
Chris Dalton031d76b2021-06-08 16:32:00 -0600192void GrPathStencilCoverOp::onPrePrepare(GrRecordingContext* context,
193 const GrSurfaceProxyView& writeView, GrAppliedClip* clip,
194 const GrDstProxyView& dstProxyView,
195 GrXferBarrierFlags renderPassXferBarriers,
196 GrLoadOp colorLoadOp) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700197 this->prePreparePrograms({context->priv().recordTimeAllocator(), writeView, &dstProxyView,
198 renderPassXferBarriers, colorLoadOp, context->priv().caps()},
199 (clip) ? std::move(*clip) : GrAppliedClip::Disabled());
200 if (fStencilFanProgram) {
201 context->priv().recordProgramInfo(fStencilFanProgram);
202 }
203 if (fStencilPathProgram) {
204 context->priv().recordProgramInfo(fStencilPathProgram);
205 }
Chris Dalton031d76b2021-06-08 16:32:00 -0600206 if (fCoverBBoxProgram) {
207 context->priv().recordProgramInfo(fCoverBBoxProgram);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700208 }
209}
210
Chris Daltona05ccc32021-06-29 19:42:13 -0600211GR_DECLARE_STATIC_UNIQUE_KEY(gUnitQuadBufferKey);
212
Chris Dalton031d76b2021-06-08 16:32:00 -0600213void GrPathStencilCoverOp::onPrepare(GrOpFlushState* flushState) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700214 if (!fTessellator) {
215 this->prePreparePrograms({flushState->allocator(), flushState->writeView(),
216 &flushState->dstProxyView(), flushState->renderPassBarriers(),
217 flushState->colorLoadOp(), &flushState->caps()},
218 flushState->detachAppliedClip());
219 if (!fTessellator) {
220 return;
221 }
222 }
223
224 if (fStencilFanProgram) {
225 // The inner fan isn't built into the tessellator. Generate a standard Redbook fan with a
226 // middle-out topology.
227 GrEagerDynamicVertexAllocator vertexAlloc(flushState, &fFanBuffer, &fFanBaseVertex);
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600228 int maxCombinedFanEdges =
229 GrPathTessellator::MaxCombinedFanEdgesInPathDrawList(fTotalCombinedPathVerbCnt);
230 // A single n-sided polygon is fanned by n-2 triangles. Multiple polygons with a combined
231 // edge count of n are fanned by strictly fewer triangles.
232 int maxTrianglesInFans = std::max(maxCombinedFanEdges - 2, 0);
233 GrVertexWriter triangleVertexWriter = vertexAlloc.lock<SkPoint>(maxTrianglesInFans * 3);
234 int fanTriangleCount = 0;
235 for (auto [pathMatrix, path] : *fPathDrawList) {
236 int numTrianglesWritten;
237 triangleVertexWriter = GrMiddleOutPolygonTriangulator::WritePathInnerFan(
238 std::move(triangleVertexWriter),
239 0,
240 0,
241 pathMatrix,
242 path,
243 &numTrianglesWritten);
244 fanTriangleCount += numTrianglesWritten;
245 }
246 SkASSERT(fanTriangleCount <= maxTrianglesInFans);
247 fFanVertexCount = fanTriangleCount * 3;
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700248 vertexAlloc.unlock(fFanVertexCount);
249 }
250
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600251 fTessellator->prepare(flushState, this->bounds(), *fPathDrawList, fTotalCombinedPathVerbCnt);
Chris Daltonc91dd692021-05-24 15:04:47 -0600252
Chris Dalton031d76b2021-06-08 16:32:00 -0600253 if (fCoverBBoxProgram) {
Chris Daltone909e1e2021-07-27 13:23:18 -0600254 size_t instanceStride = fCoverBBoxProgram->geomProc().instanceStride();
255 GrVertexWriter vertexWriter = flushState->makeVertexSpace(
256 instanceStride,
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600257 fPathCount,
Chris Daltone909e1e2021-07-27 13:23:18 -0600258 &fBBoxBuffer,
259 &fBBoxBaseInstance);
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600260 SkDEBUGCODE(int pathCount = 0;)
261 for (auto [pathMatrix, path] : *fPathDrawList) {
262 SkDEBUGCODE(auto end = vertexWriter.makeOffset(instanceStride));
263 vertexWriter.write(pathMatrix.getScaleX(),
264 pathMatrix.getSkewY(),
265 pathMatrix.getSkewX(),
266 pathMatrix.getScaleY(),
267 pathMatrix.getTranslateX(),
268 pathMatrix.getTranslateY());
269 if (path.isInverseFillType()) {
270 // Fill the entire backing store to make sure we clear every stencil value back to
271 // 0. If there is a scissor it will have already clipped the stencil draw.
272 auto rtBounds =
273 flushState->writeView().asRenderTargetProxy()->backingStoreBoundsRect();
274 SkASSERT(rtBounds == fOriginalDrawBounds);
275 SkRect pathSpaceRTBounds;
276 if (SkMatrixPriv::InverseMapRect(pathMatrix, &pathSpaceRTBounds, rtBounds)) {
277 vertexWriter.write(pathSpaceRTBounds);
278 } else {
279 vertexWriter.write(path.getBounds());
280 }
Chris Daltonbaae2dd2021-06-25 14:52:49 -0600281 } else {
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600282 vertexWriter.write(path.getBounds());
Chris Daltonbaae2dd2021-06-25 14:52:49 -0600283 }
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600284 SkASSERT(vertexWriter == end);
285 SkDEBUGCODE(++pathCount;)
Chris Daltonbaae2dd2021-06-25 14:52:49 -0600286 }
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600287 SkASSERT(pathCount == fPathCount);
Chris Daltonc91dd692021-05-24 15:04:47 -0600288 }
Chris Daltona05ccc32021-06-29 19:42:13 -0600289
290 if (!flushState->caps().shaderCaps()->vertexIDSupport()) {
291 constexpr static SkPoint kUnitQuad[4] = {{0,0}, {0,1}, {1,0}, {1,1}};
292
293 GR_DEFINE_STATIC_UNIQUE_KEY(gUnitQuadBufferKey);
294
295 fBBoxVertexBufferIfNoIDSupport = flushState->resourceProvider()->findOrMakeStaticBuffer(
296 GrGpuBufferType::kVertex, sizeof(kUnitQuad), kUnitQuad, gUnitQuadBufferKey);
297 }
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700298}
299
Chris Dalton031d76b2021-06-08 16:32:00 -0600300void GrPathStencilCoverOp::onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) {
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700301 if (!fTessellator) {
302 return;
303 }
304
305 // Stencil the inner fan, if any.
306 if (fFanVertexCount > 0) {
307 SkASSERT(fStencilFanProgram);
308 SkASSERT(fFanBuffer);
309 flushState->bindPipelineAndScissorClip(*fStencilFanProgram, this->bounds());
310 flushState->bindBuffers(nullptr, nullptr, fFanBuffer);
311 flushState->draw(fFanVertexCount, fFanBaseVertex);
312 }
313
314 // Stencil the rest of the path.
315 SkASSERT(fStencilPathProgram);
316 flushState->bindPipelineAndScissorClip(*fStencilPathProgram, this->bounds());
317 fTessellator->draw(flushState);
Chris Daltond9bdc322021-06-01 19:22:05 -0600318 if (flushState->caps().requiresManualFBBarrierAfterTessellatedStencilDraw()) {
319 flushState->gpu()->insertManualFramebufferBarrier(); // http://skbug.com/9739
320 }
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700321
322 // Fill in the bounding box (if not in stencil-only mode).
Chris Dalton031d76b2021-06-08 16:32:00 -0600323 if (fCoverBBoxProgram) {
324 flushState->bindPipelineAndScissorClip(*fCoverBBoxProgram, this->bounds());
325 flushState->bindTextures(fCoverBBoxProgram->geomProc(), nullptr,
326 fCoverBBoxProgram->pipeline());
Chris Daltona05ccc32021-06-29 19:42:13 -0600327 flushState->bindBuffers(nullptr, fBBoxBuffer, fBBoxVertexBufferIfNoIDSupport);
Chris Dalton8a1bbaa2021-07-28 14:43:07 -0600328 flushState->drawInstanced(fPathCount, fBBoxBaseInstance, 4, 0);
Chris Dalton70a0d2c2021-01-26 12:01:21 -0700329 }
330}