Lines Matching defs:atlas
242 CORE_LOG_N("atlas textures flush");
378 CORE_LOG_N("Created atlas '%s' gpuHnd: %llx", tex->name.data(), tex->handle.GetHandle().id);
381 // Clear the atlas as we don't initialize borders when copying glyphs
403 auto& atlas = atlasTextures_[i];
404 if (inColor == atlas.inColor) {
406 for (uint32_t col = 0; col < atlas.columns.size(); ++col) {
407 auto& hdr = atlas.columns[col];
415 auto& atlas = atlasTextures_[bestFitAtlas];
416 auto& hdr = atlas.columns[bestFitColumn];
421 // Need to create new atlas
423 auto atlas = CreateAtlasTexture(inColor);
424 atlas->widthLeft -= width;
425 auto& hdr = atlas->columns.emplace_back();
436 [](const AtlasTexture& atlas) { return atlas.pending.empty(); })) {
450 for (auto& atlas : atlasTextures_) {
452 columnWidths.reserve(atlas.pending.size());
490 glyph.atlas.index = static_cast<uint16_t>(atlasIndex);
491 glyph.atlas.rect.x = static_cast<uint16_t>(x);
492 glyph.atlas.rect.y = static_cast<uint16_t>(y);
493 glyph.atlas.rect.w = static_cast<uint16_t>(width);
494 glyph.atlas.rect.h = static_cast<uint16_t>(height);