Hash :
5b43a30e
Author :
Date :
2022-02-08T13:15:45
Overlay: Rearrange the font image Each glyph is now placed in a separate layer, and the image is made mipped. This is to prepare for FS-based rendering of the overlay and provide more flexible sizing of the font. Bug: angleproject:6976 Change-Id: Iefe139d1801c22ce303e445f5759f9b25597cdce Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3448710 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_overlay_fonts.py using overlay/DejaVuSansMono-Bold.ttf.
//
// Copyright 2022 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Overlay_font_autogen.h:
// Autogenerated overlay font data.
#include "libANGLE/Overlay.h"
namespace gl
{
namespace overlay
{
constexpr uint32_t kFontMipCount = 2;
constexpr uint32_t kFontCharacters = 95;
constexpr uint32_t kFontGlyphWidth = 17;
constexpr uint32_t kFontGlyphHeight = 34;
constexpr uint32_t kFontMipDataSize[kFontMipCount] = {54910, 12920};
constexpr uint32_t kFontMipDataOffset[kFontMipCount] = {0, 54910};
constexpr uint32_t kFontTotalDataSize = 67830;
constexpr uint32_t kFontMipLarge = 0;
constexpr uint32_t kFontMipSmall = 1;
} // namespace overlay
} // namespace gl