Definition at line 169 of file raster_sparse.h.
169 {
170
171
172
173 uint8_t **cached =
mCache.find_value(pt);
174 if (cached) {
175 uint8_t *val = *cached;
176 if (*val < value) {
177 *val = value;
178 }
179 return;
180 }
182
184 if (v == nullptr) {
185
186
188
189
191 }
192
194 return;
195 }
197 if (*v < value) {
198 *v = value;
199 }
200 return;
201 } else {
202
205 return;
206 }
207 }
static const int kMaxCacheSize
HashMap< vec2< int16_t >, uint8_t *, FastHashKey, EqualToKey, kMaxCacheSize > mCache
References kMaxCacheSize, mCache, and mSparseGrid.
Referenced by rasterize(), and rasterize_internal().