Definition at line 164 of file raster_sparse.h.
164 {
165
166
167
168 uint8_t **cached =
mCache.find_value(pt);
169 if (cached) {
170 uint8_t *val = *cached;
171 if (*val < value) {
172 *val = value;
173 }
174 return;
175 }
177
179 if (v == nullptr) {
180
181
183
184
186 }
187
189 return;
190 }
192 if (*v < value) {
193 *v = value;
194 }
195 return;
196 } else {
197
200 return;
201 }
202 }
static const int kMaxCacheSize
HashMap< vec2< int >, uint8_t *, FastHashKey, EqualToKey, kMaxCacheSize > mCache
References kMaxCacheSize, mCache, and mSparseGrid.
Referenced by rasterize(), and rasterize_internal().