Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
typographer_unittests.cc File Reference
#include "flutter/display_list/testing/dl_test_snippets.h"
#include "flutter/testing/testing.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/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< GlyphAtlasimpeller::testing::CreateGlyphAtlas (Context &context, const TypographerContext *typographer_context, GlyphAtlas::Type type, Scalar scale, const std::shared_ptr< GlyphAtlasContext > &atlas_context, const TextFrame &frame)
 
 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, GlyphAtlasTextureIsRecreatedIfTypeChanges)
 
 impeller::testing::TEST_P (TypographerTest, MaybeHasOverlapping)
 
 impeller::testing::TEST_P (TypographerTest, RectanglePackerAddsNonoverlapingRectangles)
 
 impeller::testing::TEST_P (TypographerTest, GlyphAtlasTextureIsRecycledWhenContentsAreNotRecreated)