Classes | |
| class | ContextSub |
| class | FlagObject |
| class | TestObject |
| class | PlaygroundTest |
Typedefs | |
| using | InteropPlaygroundTest = PlaygroundTest |
Functions | |
| INSTANTIATE_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, CanCreateDecorations) | |
| 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) | |
| TEST_P (InteropPlaygroundTest, CanRenderShadows) | |
| TEST_P (InteropPlaygroundTest, CanMeasureText) | |
| TEST_P (InteropPlaygroundTest, CanGetPathBounds) | |
| TEST_P (InteropPlaygroundTest, CanControlEllipses) | |
| TEST_P (InteropPlaygroundTest, CanCreateFragmentProgramColorFilters) | |
| TEST_P (InteropPlaygroundTest, MappingsReleaseTheirDataOnDestruction) | |
| IMPELLER_DEFINE_HANDLE (FlagHandle) | |
| IMPELLER_DEFINE_HANDLE (TestHandle) | |
| TEST (InteropObjectTest, CanCreateScoped) | |
| TEST (InteropObjectTest, CanCreate) | |
| TEST (InteropObjectTest, CanCopyAssignMove) | |
| static void | SetupImpellerHPPProcTableOnce () |
| static ScopedObject< Surface > | CreateSharedSurface (PlaygroundBackend backend, Context &context, std::shared_ptr< impeller::Surface > shared_surface) |
| static ScopedObject< Context > | CreateSharedContext (PlaygroundBackend backend, std::shared_ptr< impeller::Context > shared_context) |
| using impeller::interop::testing::InteropPlaygroundTest = typedef PlaygroundTest |
Definition at line 27 of file impeller_unittests.cc.
|
static |
Definition at line 146 of file playground_test.cc.
References impeller::interop::ContextMTL::Create(), impeller::interop::ContextVK::Create(), impeller::interop::ContextGLES::Create(), impeller::kMetal, impeller::kOpenGLES, and impeller::kVulkan.
Referenced by impeller::interop::testing::PlaygroundTest::GetInteropContext().
|
static |
Definition at line 101 of file playground_test.cc.
References impeller::kMetal, impeller::kOpenGLES, and impeller::kVulkan.
Referenced by impeller::interop::testing::PlaygroundTest::OpenPlaygroundHere().
|
static |
Definition at line 429 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_PLAYGROUND_SUITE | ( | InteropPlaygroundTest | ) |
|
static |
Definition at line 30 of file playground_test.cc.
References IMPELLER_HPP_NAMESPACE::gGlobalProcTable, IMPELLER_HPP_EACH_PROC, IMPELLER_HPP_PROC, and IMPELLER_HPP_NAMESPACE::ProcTable::Initialize().
Referenced by impeller::interop::testing::PlaygroundTest::PlaygroundTest().
| impeller::interop::testing::TEST | ( | InteropObjectTest | , |
| CanCopyAssignMove | |||
| ) |
Definition at line 77 of file object_unittests.cc.
| impeller::interop::testing::TEST | ( | InteropObjectTest | , |
| CanCreate | |||
| ) |
Definition at line 70 of file object_unittests.cc.
| impeller::interop::testing::TEST | ( | InteropObjectTest | , |
| CanCreateScoped | |||
| ) |
Definition at line 54 of file object_unittests.cc.
References impeller::interop::Adopt(), and impeller::interop::Ref().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanControlEllipses | |||
| ) |
Definition at line 635 of file impeller_unittests.cc.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateContext | |||
| ) |
Definition at line 33 of file impeller_unittests.cc.
References impeller::android::testing::CreateContext().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateDecorations | |||
| ) |
Definition at line 296 of file impeller_unittests.cc.
References kImpellerTextDecorationStyleWavy, kImpellerTextDecorationTypeLineThrough, kImpellerTextDecorationTypeUnderline, and ImpellerTextDecoration::types.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateDisplayListBuilder | |||
| ) |
Definition at line 38 of file impeller_unittests.cc.
References impeller::Matrix::IsIdentity(), and impeller::interop::ToImpellerType().
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateFragmentProgramColorFilters | |||
| ) |
Definition at line 660 of file impeller_unittests.cc.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateOpenGLImage | |||
| ) |
Definition at line 133 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 241 of file impeller_unittests.cc.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateParagraphsWithCustomFont | |||
| ) |
Definition at line 355 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 322 of file impeller_unittests.cc.
References ImpellerRoundingRadii::bottom_right, and ImpellerRoundingRadii::top_left.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanCreateSurface | |||
| ) |
Definition at line 49 of file impeller_unittests.cc.
References impeller::android::testing::CreateContext(), impeller::interop::ImpellerSurfaceCreateWrappedFBONew(), kImpellerPixelFormatRGBA8888, impeller::kOpenGLES, and ImpellerISize::width.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanDrawImage | |||
| ) |
Definition at line 99 of file impeller_unittests.cc.
References kImpellerPixelFormatRGBA8888, kImpellerTextureSamplingLinear, ImpellerTextureDescriptor::mip_count, ImpellerTextureDescriptor::pixel_format, ImpellerTextureDescriptor::size, and ImpellerISize::width.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanDrawRect | |||
| ) |
Definition at line 68 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 | , |
| CanGetPathBounds | |||
| ) |
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanMeasureText | |||
| ) |
Definition at line 537 of file impeller_unittests.cc.
References ImpellerRange::end, ImpellerRect::height, impeller::interop::ImpellerGlyphInfoGetGraphemeClusterBounds(), impeller::interop::ImpellerParagraphGetWordBoundary(), kImpellerTextDirectionLTR, ImpellerRange::start, and ImpellerRect::width.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanRenderShadows | |||
| ) |
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| CanRenderTextAlignments | |||
| ) |
Definition at line 469 of file impeller_unittests.cc.
References DrawTextFrame(), kImpellerFontWeight400, kImpellerTextAlignmentCenter, kImpellerTextAlignmentLeft, and kImpellerTextAlignmentRight.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| ClearsOpenGLStancilStateAfterTransition | |||
| ) |
Definition at line 203 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.
| impeller::interop::testing::TEST_P | ( | InteropPlaygroundTest | , |
| MappingsReleaseTheirDataOnDestruction | |||
| ) |
Definition at line 695 of file impeller_unittests.cc.