| 38 | render_h_(static_cast<int>(75.0f * content_scale)) {} |
| 39 | |
| 40 | ThumbnailCache::~ThumbnailCache() { |
| 41 | for (const auto& [name, entry] : entries_) { |
| 42 | if (entry.tex != 0) { |
| 43 | canvas_.glDeleteTextures(1, &entry.tex); |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | void ThumbnailCache::begin_frame() { |
| 49 | rendered_this_frame_ = false; |
nothing calls this directly
no test coverage detected