bsalomon | 7539856 | 2015-08-17 12:55:38 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 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 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 8 | #include "src/gpu/GrOpFlushState.h" |
bsalomon | 7539856 | 2015-08-17 12:55:38 -0700 | [diff] [blame] | 9 | |
Brian Salomon | 1047a49 | 2019-07-02 12:25:21 -0400 | [diff] [blame] | 10 | #include "src/core/SkConvertPixels.h" |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 11 | #include "src/gpu/GrContextPriv.h" |
| 12 | #include "src/gpu/GrDrawOpAtlas.h" |
| 13 | #include "src/gpu/GrGpu.h" |
Brian Salomon | f2ebdd9 | 2019-09-30 12:15:30 -0400 | [diff] [blame] | 14 | #include "src/gpu/GrImageInfo.h" |
Robert Phillips | 901aff0 | 2019-10-08 12:32:56 -0400 | [diff] [blame] | 15 | #include "src/gpu/GrProgramInfo.h" |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 16 | #include "src/gpu/GrResourceProvider.h" |
Greg Daniel | 456f9b5 | 2020-03-05 19:14:18 +0000 | [diff] [blame] | 17 | #include "src/gpu/GrTexture.h" |
bsalomon | 7539856 | 2015-08-17 12:55:38 -0700 | [diff] [blame] | 18 | |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 19 | ////////////////////////////////////////////////////////////////////////////// |
| 20 | |
Brian Salomon | 58f153c | 2018-10-18 21:51:15 -0400 | [diff] [blame] | 21 | GrOpFlushState::GrOpFlushState(GrGpu* gpu, GrResourceProvider* resourceProvider, |
Robert Phillips | e5f7328 | 2019-06-18 17:15:04 -0400 | [diff] [blame] | 22 | GrTokenTracker* tokenTracker, |
Brian Salomon | 601ac80 | 2019-02-07 13:37:16 -0500 | [diff] [blame] | 23 | sk_sp<GrBufferAllocPool::CpuBufferCache> cpuBufferCache) |
| 24 | : fVertexPool(gpu, cpuBufferCache) |
| 25 | , fIndexPool(gpu, std::move(cpuBufferCache)) |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 26 | , fGpu(gpu) |
| 27 | , fResourceProvider(resourceProvider) |
Brian Salomon | beb7f52 | 2019-08-30 16:19:42 -0400 | [diff] [blame] | 28 | , fTokenTracker(tokenTracker) {} |
bsalomon | 7539856 | 2015-08-17 12:55:38 -0700 | [diff] [blame] | 29 | |
Robert Phillips | 646e429 | 2017-06-13 12:44:56 -0400 | [diff] [blame] | 30 | const GrCaps& GrOpFlushState::caps() const { |
| 31 | return *fGpu->caps(); |
| 32 | } |
| 33 | |
Chris Dalton | 07cdcfc9 | 2019-02-26 11:13:22 -0700 | [diff] [blame] | 34 | void GrOpFlushState::executeDrawsAndUploadsForMeshDrawOp( |
Robert Phillips | 3968fcb | 2019-12-05 16:40:31 -0500 | [diff] [blame] | 35 | const GrOp* op, const SkRect& chainBounds, const GrPipeline* pipeline) { |
Greg Daniel | 2d41d0d | 2019-08-26 11:08:51 -0400 | [diff] [blame] | 36 | SkASSERT(this->opsRenderPass()); |
Chris Dalton | 07cdcfc9 | 2019-02-26 11:13:22 -0700 | [diff] [blame] | 37 | |
Brian Osman | e801210 | 2018-11-29 14:05:07 -0500 | [diff] [blame] | 38 | while (fCurrDraw != fDraws.end() && fCurrDraw->fOp == op) { |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 39 | GrDeferredUploadToken drawToken = fTokenTracker->nextTokenToFlush(); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 40 | while (fCurrUpload != fInlineUploads.end() && |
| 41 | fCurrUpload->fUploadBeforeToken == drawToken) { |
Greg Daniel | 2d41d0d | 2019-08-26 11:08:51 -0400 | [diff] [blame] | 42 | this->opsRenderPass()->inlineUpload(this, fCurrUpload->fUpload); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 43 | ++fCurrUpload; |
| 44 | } |
Robert Phillips | 901aff0 | 2019-10-08 12:32:56 -0400 | [diff] [blame] | 45 | |
| 46 | GrProgramInfo programInfo(this->proxy()->numSamples(), |
Chris Dalton | 5e8cdfd | 2019-11-11 15:23:30 -0700 | [diff] [blame] | 47 | this->proxy()->numStencilSamples(), |
Robert Phillips | 933484f | 2019-11-26 09:38:55 -0500 | [diff] [blame] | 48 | this->proxy()->backendFormat(), |
Robert Phillips | b58098f | 2020-03-02 16:25:29 -0500 | [diff] [blame] | 49 | this->outputView()->origin(), |
Robert Phillips | 67a625e | 2019-11-15 15:37:07 -0500 | [diff] [blame] | 50 | pipeline, |
Robert Phillips | 7cd0bfe | 2019-11-20 16:08:10 -0500 | [diff] [blame] | 51 | fCurrDraw->fGeometryProcessor, |
Robert Phillips | 901aff0 | 2019-10-08 12:32:56 -0400 | [diff] [blame] | 52 | fCurrDraw->fFixedDynamicState, |
Robert Phillips | 2d8a95e | 2019-10-10 12:50:22 -0400 | [diff] [blame] | 53 | fCurrDraw->fDynamicStateArrays, |
Robert Phillips | cea290f | 2019-11-06 11:21:03 -0500 | [diff] [blame] | 54 | fCurrDraw->fMeshCnt, |
| 55 | fCurrDraw->fPrimitiveType); |
Robert Phillips | 901aff0 | 2019-10-08 12:32:56 -0400 | [diff] [blame] | 56 | |
Chris Dalton | 4386ad1 | 2020-02-19 16:42:06 -0700 | [diff] [blame] | 57 | this->opsRenderPass()->bindPipeline(programInfo, chainBounds); |
| 58 | this->opsRenderPass()->drawMeshes(programInfo, fCurrDraw->fMeshes, fCurrDraw->fMeshCnt); |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 59 | fTokenTracker->flushToken(); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 60 | ++fCurrDraw; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | void GrOpFlushState::preExecuteDraws() { |
| 65 | fVertexPool.unmap(); |
| 66 | fIndexPool.unmap(); |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 67 | for (auto& upload : fASAPUploads) { |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 68 | this->doUpload(upload); |
| 69 | } |
| 70 | // Setup execution iterators. |
| 71 | fCurrDraw = fDraws.begin(); |
| 72 | fCurrUpload = fInlineUploads.begin(); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 73 | } |
| 74 | |
| 75 | void GrOpFlushState::reset() { |
| 76 | SkASSERT(fCurrDraw == fDraws.end()); |
| 77 | SkASSERT(fCurrUpload == fInlineUploads.end()); |
| 78 | fVertexPool.reset(); |
| 79 | fIndexPool.reset(); |
| 80 | fArena.reset(); |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 81 | fASAPUploads.reset(); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 82 | fInlineUploads.reset(); |
| 83 | fDraws.reset(); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 84 | fBaseDrawToken = GrDeferredUploadToken::AlreadyFlushedToken(); |
| 85 | } |
| 86 | |
Greg Daniel | b20d7e5 | 2019-09-03 13:54:39 -0400 | [diff] [blame] | 87 | void GrOpFlushState::doUpload(GrDeferredTextureUploadFn& upload, |
| 88 | bool shouldPrepareSurfaceForSampling) { |
| 89 | GrDeferredTextureUploadWritePixelsFn wp = [this, shouldPrepareSurfaceForSampling]( |
| 90 | GrTextureProxy* dstProxy, int left, int top, int width, int height, |
| 91 | GrColorType colorType, const void* buffer, size_t rowBytes) { |
Brian Salomon | fd98c2c | 2018-07-31 17:25:29 -0400 | [diff] [blame] | 92 | GrSurface* dstSurface = dstProxy->peekSurface(); |
Brian Salomon | 42be09d | 2019-07-26 12:12:26 -0400 | [diff] [blame] | 93 | if (!fGpu->caps()->surfaceSupportsWritePixels(dstSurface)) { |
| 94 | return false; |
| 95 | } |
Brian Salomon | 01915c0 | 2019-08-02 09:57:21 -0400 | [diff] [blame] | 96 | GrCaps::SupportedWrite supportedWrite = fGpu->caps()->supportedWritePixelsColorType( |
| 97 | colorType, dstSurface->backendFormat(), colorType); |
Brian Salomon | 77a684f | 2019-08-01 14:38:04 -0400 | [diff] [blame] | 98 | size_t tightRB = width * GrColorTypeBytesPerPixel(supportedWrite.fColorType); |
| 99 | SkASSERT(rowBytes >= tightRB); |
Brian Salomon | 1047a49 | 2019-07-02 12:25:21 -0400 | [diff] [blame] | 100 | std::unique_ptr<char[]> tmpPixels; |
Brian Salomon | f77c146 | 2019-08-01 15:19:29 -0400 | [diff] [blame] | 101 | if (supportedWrite.fColorType != colorType || |
Brian Salomon | 77a684f | 2019-08-01 14:38:04 -0400 | [diff] [blame] | 102 | (!fGpu->caps()->writePixelsRowBytesSupport() && rowBytes != tightRB)) { |
| 103 | tmpPixels.reset(new char[height * tightRB]); |
| 104 | // Use kUnpremul to ensure no alpha type conversions or clamping occur. |
| 105 | static constexpr auto kAT = kUnpremul_SkAlphaType; |
Brian Salomon | f2ebdd9 | 2019-09-30 12:15:30 -0400 | [diff] [blame] | 106 | GrImageInfo srcInfo(colorType, kAT, nullptr, width, height); |
| 107 | GrImageInfo tmpInfo(supportedWrite.fColorType, kAT, nullptr, width, |
Brian Salomon | 77a684f | 2019-08-01 14:38:04 -0400 | [diff] [blame] | 108 | height); |
| 109 | if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { |
| 110 | return false; |
| 111 | } |
Brian Salomon | 1047a49 | 2019-07-02 12:25:21 -0400 | [diff] [blame] | 112 | rowBytes = tightRB; |
Brian Salomon | 77a684f | 2019-08-01 14:38:04 -0400 | [diff] [blame] | 113 | buffer = tmpPixels.get(); |
Brian Salomon | 1047a49 | 2019-07-02 12:25:21 -0400 | [diff] [blame] | 114 | } |
Brian Salomon | f77c146 | 2019-08-01 15:19:29 -0400 | [diff] [blame] | 115 | return this->fGpu->writePixels(dstSurface, left, top, width, height, colorType, |
Greg Daniel | b20d7e5 | 2019-09-03 13:54:39 -0400 | [diff] [blame] | 116 | supportedWrite.fColorType, buffer, rowBytes, |
| 117 | shouldPrepareSurfaceForSampling); |
Brian Salomon | 9bada54 | 2017-06-12 12:09:30 -0400 | [diff] [blame] | 118 | }; |
| 119 | upload(wp); |
| 120 | } |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 121 | |
| 122 | GrDeferredUploadToken GrOpFlushState::addInlineUpload(GrDeferredTextureUploadFn&& upload) { |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 123 | return fInlineUploads.append(&fArena, std::move(upload), fTokenTracker->nextDrawToken()) |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 124 | .fUploadBeforeToken; |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 125 | } |
| 126 | |
| 127 | GrDeferredUploadToken GrOpFlushState::addASAPUpload(GrDeferredTextureUploadFn&& upload) { |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 128 | fASAPUploads.append(&fArena, std::move(upload)); |
| 129 | return fTokenTracker->nextTokenToFlush(); |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 130 | } |
| 131 | |
Chris Dalton | 07cdcfc9 | 2019-02-26 11:13:22 -0700 | [diff] [blame] | 132 | void GrOpFlushState::recordDraw( |
Robert Phillips | 6c59fe4 | 2020-02-27 09:30:37 -0500 | [diff] [blame] | 133 | const GrGeometryProcessor* gp, |
Chris Dalton | eb694b7 | 2020-03-16 09:25:50 -0600 | [diff] [blame^] | 134 | const GrSimpleMesh meshes[], |
Robert Phillips | 6c59fe4 | 2020-02-27 09:30:37 -0500 | [diff] [blame] | 135 | int meshCnt, |
Chris Dalton | 07cdcfc9 | 2019-02-26 11:13:22 -0700 | [diff] [blame] | 136 | const GrPipeline::FixedDynamicState* fixedDynamicState, |
Robert Phillips | cea290f | 2019-11-06 11:21:03 -0500 | [diff] [blame] | 137 | const GrPipeline::DynamicStateArrays* dynamicStateArrays, |
| 138 | GrPrimitiveType primitiveType) { |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 139 | SkASSERT(fOpArgs); |
Robert Phillips | 405413f | 2019-10-04 10:39:28 -0400 | [diff] [blame] | 140 | SkDEBUGCODE(fOpArgs->validate()); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 141 | bool firstDraw = fDraws.begin() == fDraws.end(); |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 142 | auto& draw = fDraws.append(&fArena); |
Robert Phillips | 40a29d7 | 2018-01-18 12:59:22 -0500 | [diff] [blame] | 143 | GrDeferredUploadToken token = fTokenTracker->issueDrawToken(); |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 144 | if (fixedDynamicState && fixedDynamicState->fPrimitiveProcessorTextures) { |
| 145 | for (int i = 0; i < gp->numTextureSamplers(); ++i) { |
Robert Phillips | 3d4cac5 | 2019-06-11 08:08:08 -0400 | [diff] [blame] | 146 | fixedDynamicState->fPrimitiveProcessorTextures[i]->ref(); |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 147 | } |
| 148 | } |
| 149 | if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { |
| 150 | int n = gp->numTextureSamplers() * meshCnt; |
| 151 | for (int i = 0; i < n; ++i) { |
Robert Phillips | 3d4cac5 | 2019-06-11 08:08:08 -0400 | [diff] [blame] | 152 | dynamicStateArrays->fPrimitiveProcessorTextures[i]->ref(); |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 153 | } |
Brian Salomon | 7eae3e0 | 2018-08-07 14:02:38 +0000 | [diff] [blame] | 154 | } |
Robert Phillips | 7cd0bfe | 2019-11-20 16:08:10 -0500 | [diff] [blame] | 155 | draw.fGeometryProcessor = gp; |
Brian Salomon | 4934890 | 2018-06-26 09:12:38 -0400 | [diff] [blame] | 156 | draw.fFixedDynamicState = fixedDynamicState; |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 157 | draw.fDynamicStateArrays = dynamicStateArrays; |
Brian Salomon | 7eae3e0 | 2018-08-07 14:02:38 +0000 | [diff] [blame] | 158 | draw.fMeshes = meshes; |
| 159 | draw.fMeshCnt = meshCnt; |
Robert Phillips | 405413f | 2019-10-04 10:39:28 -0400 | [diff] [blame] | 160 | draw.fOp = fOpArgs->op(); |
Robert Phillips | cea290f | 2019-11-06 11:21:03 -0500 | [diff] [blame] | 161 | draw.fPrimitiveType = primitiveType; |
Brian Salomon | 7dc6e75 | 2017-11-02 11:34:51 -0400 | [diff] [blame] | 162 | if (firstDraw) { |
| 163 | fBaseDrawToken = token; |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 164 | } |
| 165 | } |
| 166 | |
Brian Salomon | 12d2264 | 2019-01-29 14:38:50 -0500 | [diff] [blame] | 167 | void* GrOpFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, |
| 168 | sk_sp<const GrBuffer>* buffer, int* startVertex) { |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 169 | return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); |
| 170 | } |
| 171 | |
Brian Salomon | 12d2264 | 2019-01-29 14:38:50 -0500 | [diff] [blame] | 172 | uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, sk_sp<const GrBuffer>* buffer, |
| 173 | int* startIndex) { |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 174 | return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex)); |
| 175 | } |
| 176 | |
| 177 | void* GrOpFlushState::makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, |
Brian Salomon | 12d2264 | 2019-01-29 14:38:50 -0500 | [diff] [blame] | 178 | int fallbackVertexCount, sk_sp<const GrBuffer>* buffer, |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 179 | int* startVertex, int* actualVertexCount) { |
| 180 | return fVertexPool.makeSpaceAtLeast(vertexSize, minVertexCount, fallbackVertexCount, buffer, |
| 181 | startVertex, actualVertexCount); |
| 182 | } |
| 183 | |
| 184 | uint16_t* GrOpFlushState::makeIndexSpaceAtLeast(int minIndexCount, int fallbackIndexCount, |
Brian Salomon | 12d2264 | 2019-01-29 14:38:50 -0500 | [diff] [blame] | 185 | sk_sp<const GrBuffer>* buffer, int* startIndex, |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 186 | int* actualIndexCount) { |
| 187 | return reinterpret_cast<uint16_t*>(fIndexPool.makeSpaceAtLeast( |
| 188 | minIndexCount, fallbackIndexCount, buffer, startIndex, actualIndexCount)); |
| 189 | } |
| 190 | |
| 191 | void GrOpFlushState::putBackIndices(int indexCount) { |
| 192 | fIndexPool.putBack(indexCount * sizeof(uint16_t)); |
| 193 | } |
| 194 | |
| 195 | void GrOpFlushState::putBackVertices(int vertices, size_t vertexStride) { |
| 196 | fVertexPool.putBack(vertices * vertexStride); |
| 197 | } |
| 198 | |
| 199 | GrAppliedClip GrOpFlushState::detachAppliedClip() { |
Robert Phillips | 405413f | 2019-10-04 10:39:28 -0400 | [diff] [blame] | 200 | return fOpArgs->appliedClip() ? std::move(*fOpArgs->appliedClip()) : GrAppliedClip(); |
Brian Salomon | 29b60c9 | 2017-10-31 14:42:10 -0400 | [diff] [blame] | 201 | } |
Robert Phillips | c4039ea | 2018-03-01 11:36:45 -0500 | [diff] [blame] | 202 | |
Herb Derby | 081e6f3 | 2019-01-16 13:46:02 -0500 | [diff] [blame] | 203 | GrStrikeCache* GrOpFlushState::glyphCache() const { |
Herb Derby | a00da61 | 2019-03-04 17:10:01 -0500 | [diff] [blame] | 204 | return fGpu->getContext()->priv().getGrStrikeCache(); |
Robert Phillips | c4039ea | 2018-03-01 11:36:45 -0500 | [diff] [blame] | 205 | } |
| 206 | |
Robert Phillips | 5a66efb | 2018-03-07 15:13:18 -0500 | [diff] [blame] | 207 | GrAtlasManager* GrOpFlushState::atlasManager() const { |
Robert Phillips | 9da87e0 | 2019-02-04 13:26:26 -0500 | [diff] [blame] | 208 | return fGpu->getContext()->priv().getAtlasManager(); |
Robert Phillips | c4039ea | 2018-03-01 11:36:45 -0500 | [diff] [blame] | 209 | } |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 210 | |
| 211 | ////////////////////////////////////////////////////////////////////////////// |
| 212 | |
| 213 | GrOpFlushState::Draw::~Draw() { |
| 214 | if (fFixedDynamicState && fFixedDynamicState->fPrimitiveProcessorTextures) { |
| 215 | for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { |
Robert Phillips | 3d4cac5 | 2019-06-11 08:08:08 -0400 | [diff] [blame] | 216 | fFixedDynamicState->fPrimitiveProcessorTextures[i]->unref(); |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 217 | } |
| 218 | } |
| 219 | if (fDynamicStateArrays && fDynamicStateArrays->fPrimitiveProcessorTextures) { |
| 220 | int n = fGeometryProcessor->numTextureSamplers() * fMeshCnt; |
| 221 | const auto* textures = fDynamicStateArrays->fPrimitiveProcessorTextures; |
| 222 | for (int i = 0; i < n; ++i) { |
Robert Phillips | 3d4cac5 | 2019-06-11 08:08:08 -0400 | [diff] [blame] | 223 | textures[i]->unref(); |
Brian Salomon | f723264 | 2018-09-19 08:58:08 -0400 | [diff] [blame] | 224 | } |
| 225 | } |
| 226 | } |