Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
typographer_unittests.cc File Reference
#include "flutter/display_list/testing/dl_test_snippets.h"
#include "flutter/testing/testing.h"
#include "gtest/gtest.h"
#include "impeller/core/host_buffer.h"
#include "impeller/playground/playground.h"
#include "impeller/playground/playground_test.h"
#include "impeller/typographer/backends/skia/text_frame_skia.h"
#include "impeller/typographer/backends/skia/typographer_context_skia.h"
#include "impeller/typographer/font_glyph_pair.h"
#include "impeller/typographer/lazy_glyph_atlas.h"
#include "impeller/typographer/rectangle_packer.h"
#include "third_party/skia/include/core/SkFont.h"
#include "third_party/skia/include/core/SkFontMgr.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkTextBlob.h"
#include "third_party/skia/include/core/SkTypeface.h"
#include "txt/platform.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Typedefs

using impeller::testing::TypographerTest = PlaygroundTest
 

Functions

 impeller::testing::INSTANTIATE_PLAYGROUND_SUITE (BlitPassTest)
 
static std::shared_ptr< GlyphAtlas > impeller::testing::CreateGlyphAtlas (Context &context, const TypographerContext *typographer_context, HostBuffer &host_buffer, GlyphAtlas::Type type, Scalar scale, const std::shared_ptr< GlyphAtlasContext > &atlas_context, const TextFrame &frame)
 
static std::shared_ptr< GlyphAtlas > impeller::testing::CreateGlyphAtlas (Context &context, const TypographerContext *typographer_context, HostBuffer &host_buffer, GlyphAtlas::Type type, Scalar scale, const std::shared_ptr< GlyphAtlasContext > &atlas_context, const std::vector< std::shared_ptr< TextFrame > > &frames, const std::vector< GlyphProperties > &properties)
 
 impeller::testing::TEST_P (TypographerTest, CanConvertTextBlob)
 
 impeller::testing::TEST_P (TypographerTest, CanCreateRenderContext)
 
 impeller::testing::TEST_P (TypographerTest, CanCreateGlyphAtlas)
 
 impeller::testing::TEST_P (TypographerTest, LazyAtlasTracksColor)
 
 impeller::testing::TEST_P (TypographerTest, GlyphAtlasWithOddUniqueGlyphSize)
 
 impeller::testing::TEST_P (TypographerTest, GlyphAtlasIsRecycledIfUnchanged)
 
 impeller::testing::TEST_P (TypographerTest, GlyphAtlasWithLotsOfdUniqueGlyphSize)
 
 impeller::testing::TEST_P (TypographerTest, GlyphAtlasTextureIsRecycledIfUnchanged)
 
 impeller::testing::TEST_P (TypographerTest, GlyphColorIsPartOfCacheKey)
 
 impeller::testing::TEST_P (TypographerTest, GlyphColorIsIgnoredForNonEmojiFonts)
 
 impeller::testing::TEST_P (TypographerTest, RectanglePackerAddsNonoverlapingRectangles)
 
 impeller::testing::TEST (TypographerTest, RectanglePackerFillsRows)
 
 impeller::testing::TEST_P (TypographerTest, GlyphAtlasTextureWillGrowTilMaxTextureSize)