Classes | |
| class | FlagObject |
| class | TestObject |
| class | PlaygroundTest |
Typedefs | |
| using | InteropPlaygroundTest = PlaygroundTest |
Functions | |
| INSTANTIATE_OPENGLES_PLAYGROUND_SUITE (InteropPlaygroundTest) | |
| TEST_P (InteropPlaygroundTest, CanCreateContext) | |
| TEST_P (InteropPlaygroundTest, CanCreateDisplayListBuilder) | |
| TEST_P (InteropPlaygroundTest, CanCreateSurface) | |
| TEST_P (InteropPlaygroundTest, CanDrawRect) | |
| TEST_P (InteropPlaygroundTest, CanDrawImage) | |
| TEST_P (InteropPlaygroundTest, CanCreateOpenGLImage) | |
| TEST_P (InteropPlaygroundTest, ClearsOpenGLStancilStateAfterTransition) | |
| TEST_P (InteropPlaygroundTest, CanCreateParagraphs) | |
| TEST_P (InteropPlaygroundTest, CanCreateShapes) | |
| TEST_P (InteropPlaygroundTest, CanCreateParagraphsWithCustomFont) | |
| static void | DrawTextFrame (const hpp::TypographyContext &tc, hpp::DisplayListBuilder &builder, hpp::ParagraphStyle &p_style, const hpp::Paint &bg, ImpellerColor color, ImpellerTextAlignment align, float x_offset) |
| TEST_P (InteropPlaygroundTest, CanRenderTextAlignments) | |
| IMPELLER_DEFINE_HANDLE (FlagHandle) | |
| IMPELLER_DEFINE_HANDLE (TestHandle) | |
| TEST (InteropObjectTest, CanCreateScoped) | |
| TEST (InteropObjectTest, CanCreate) | |
| TEST (InteropObjectTest, CanCopyAssignMove) | |
| using impeller::interop::testing::InteropPlaygroundTest = typedef PlaygroundTest |
Definition at line 26 of file impeller_unittests.cc.
|
static |
Definition at line 393 of file impeller_unittests.cc.
References kImpellerDrawStyleFill, kImpellerDrawStyleStroke, ImpellerRect::width, ImpellerPoint::x, and ImpellerPoint::y.
Referenced by TEST_P().
| impeller::interop::testing::IMPELLER_DEFINE_HANDLE | ( | FlagHandle | ) |
| impeller::interop::testing::IMPELLER_DEFINE_HANDLE | ( | TestHandle | ) |
| impeller::interop::testing::INSTANTIATE_OPENGLES_PLAYGROUND_SUITE | ( | InteropPlaygroundTest | ) |
| impeller::interop::testing::TEST | ( | InteropObjectTest | , |
| CanCopyAssignMove | |||
| ) |
Definition at line 75 of file object_unittests.cc.
| impeller::interop::testing::TEST | ( | InteropObjectTest | , |
| CanCreate | |||
| ) |
Definition at line 68 of file object_unittests.cc.
| impeller::interop::testing::TEST | ( | InteropObjectTest | , |
| CanCreateScoped | |||
| ) |
Definition at line 52 of file object_unittests.cc.
References impeller::interop::Adopt(), and impeller::interop::Ref().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateContext | |||
| ) |
Definition at line 29 of file impeller_unittests.cc.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateDisplayListBuilder | |||
| ) |
Definition at line 34 of file impeller_unittests.cc.
References impeller::Matrix::IsIdentity(), and impeller::interop::ToImpellerType().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateOpenGLImage | |||
| ) |
Definition at line 123 of file impeller_unittests.cc.
References impeller::BackendCast< ContextGLES, Context >::Cast(), impeller::Color::Fuchsia(), impeller::Allocation::GetBuffer(), impeller::interop::ImpellerDisplayListBuilderCreateDisplayListNew(), impeller::interop::ImpellerDisplayListBuilderDrawTexture(), impeller::interop::ImpellerDisplayListBuilderNew(), impeller::interop::ImpellerSurfaceDrawDisplayList(), impeller::interop::ImpellerTextureCreateWithOpenGLTextureHandleNew(), impeller::interop::ImpellerTextureGetOpenGLHandle(), kImpellerPixelFormatRGBA8888, kImpellerTextureSamplingLinear, impeller::Context::kOpenGLES, ImpellerTextureDescriptor::mip_count, ImpellerTextureDescriptor::pixel_format, ImpellerTextureDescriptor::size, impeller::Color::ToR8G8B8A8(), impeller::Allocation::Truncate(), and ImpellerISize::width.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateParagraphs | |||
| ) |
Definition at line 231 of file impeller_unittests.cc.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateParagraphsWithCustomFont | |||
| ) |
Definition at line 319 of file impeller_unittests.cc.
References ImpellerMapping::data, impeller::interop::ImpellerDisplayListBuilderCreateDisplayListNew(), impeller::interop::ImpellerDisplayListBuilderDrawParagraph(), impeller::interop::ImpellerDisplayListBuilderNew(), impeller::interop::ImpellerPaintNew(), impeller::interop::ImpellerPaintSetColor(), impeller::interop::ImpellerParagraphBuilderAddText(), impeller::interop::ImpellerParagraphBuilderBuildParagraphNew(), impeller::interop::ImpellerParagraphBuilderNew(), impeller::interop::ImpellerParagraphBuilderPushStyle(), impeller::interop::ImpellerParagraphStyleNew(), impeller::interop::ImpellerParagraphStyleSetFontFamily(), impeller::interop::ImpellerParagraphStyleSetFontSize(), impeller::interop::ImpellerParagraphStyleSetForeground(), impeller::interop::ImpellerSurfaceDrawDisplayList(), impeller::interop::ImpellerTypographyContextNew(), and impeller::interop::ImpellerTypographyContextRegisterFont().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateShapes | |||
| ) |
Definition at line 286 of file impeller_unittests.cc.
References ImpellerRoundingRadii::bottom_right, and ImpellerRoundingRadii::top_left.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateSurface | |||
| ) |
Definition at line 45 of file impeller_unittests.cc.
References impeller::interop::ImpellerSurfaceCreateWrappedFBONew(), kImpellerPixelFormatRGBA8888, and ImpellerISize::width.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanDrawImage | |||
| ) |
Definition at line 90 of file impeller_unittests.cc.
References ImpellerMapping::data, impeller::interop::ImpellerDisplayListBuilderCreateDisplayListNew(), impeller::interop::ImpellerDisplayListBuilderDrawTexture(), impeller::interop::ImpellerDisplayListBuilderNew(), impeller::interop::ImpellerSurfaceDrawDisplayList(), impeller::interop::ImpellerTextureCreateWithContentsNew(), kImpellerPixelFormatRGBA8888, kImpellerTextureSamplingLinear, ImpellerMapping::length, ImpellerTextureDescriptor::mip_count, ImpellerTextureDescriptor::pixel_format, ImpellerTextureDescriptor::size, and ImpellerISize::width.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanDrawRect | |||
| ) |
Definition at line 59 of file impeller_unittests.cc.
References impeller::interop::ImpellerDisplayListBuilderCreateDisplayListNew(), impeller::interop::ImpellerDisplayListBuilderDrawRect(), impeller::interop::ImpellerDisplayListBuilderNew(), impeller::interop::ImpellerDisplayListBuilderTransform(), impeller::interop::ImpellerDisplayListBuilderTranslate(), impeller::interop::ImpellerPaintNew(), impeller::interop::ImpellerPaintSetColor(), and impeller::interop::ImpellerSurfaceDrawDisplayList().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanRenderTextAlignments | |||
| ) |
Definition at line 433 of file impeller_unittests.cc.
References DrawTextFrame(), kImpellerFontWeight400, kImpellerTextAlignmentCenter, kImpellerTextAlignmentLeft, and kImpellerTextAlignmentRight.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| ClearsOpenGLStancilStateAfterTransition | |||
| ) |
Definition at line 193 of file impeller_unittests.cc.
References impeller::BackendCast< ContextGLES, Context >::Cast(), impeller::interop::ImpellerDisplayListBuilderClipRect(), impeller::interop::ImpellerDisplayListBuilderCreateDisplayListNew(), impeller::interop::ImpellerDisplayListBuilderDrawRect(), impeller::interop::ImpellerDisplayListBuilderNew(), impeller::interop::ImpellerDisplayListBuilderTranslate(), impeller::interop::ImpellerPaintNew(), impeller::interop::ImpellerPaintSetColor(), impeller::interop::ImpellerSurfaceDrawDisplayList(), kImpellerClipOperationDifference, and impeller::Context::kOpenGLES.