Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/builders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ configuration.
"--variant",
"host_debug_impeller_vulkan",
"--type",
"impeller-vulkan",
"impeller",
"--engine-capture-core-dump"
],
"script": "flutter/testing/run_tests.py",
Expand Down
2 changes: 1 addition & 1 deletion ci/builders/linux_host_engine.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"--variant",
"host_debug_impeller_vulkan",
"--type",
"impeller-vulkan",
"impeller",
"--engine-capture-core-dump"
]
}
Expand Down
3 changes: 2 additions & 1 deletion impeller/aiks/aiks_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,8 @@ TEST_P(AiksTest,
AiksContext renderer(mock_context, nullptr);
std::shared_ptr<Image> image = picture.ToImage(renderer, {300, 300});

ASSERT_EQ(spy->render_passes_.size(), 3llu);
ASSERT_EQ(spy->render_passes_.size(),
GetBackend() == PlaygroundBackend::kOpenGLES ? 4llu : 3llu);
std::shared_ptr<RenderPass> render_pass = spy->render_passes_[0];
ASSERT_EQ(render_pass->GetCommands().size(), 0llu);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ TEST_P(EntityTest, TiledTextureContentsRendersWithCorrectPipelineExternalOES) {

ASSERT_EQ(commands.size(), 1u);
ASSERT_STREQ(commands[0].pipeline->GetDescriptor().GetLabel().c_str(),
"TextureFill Pipeline V#1");
"TiledTextureFillExternal Pipeline V#1");
}
#endif

Expand Down
4 changes: 2 additions & 2 deletions impeller/entity/entity_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2522,9 +2522,9 @@ TEST_P(EntityTest, AdvancedBlendCoverageHintIsNotResetByEntityPass) {
if (test_allocator->GetDescriptors().size() == 6u) {
EXPECT_EQ(test_allocator->GetDescriptors()[0].size, ISize(1000, 1000));
EXPECT_EQ(test_allocator->GetDescriptors()[1].size, ISize(1000, 1000));
EXPECT_EQ(test_allocator->GetDescriptors()[2].size, ISize(1000, 1000));
EXPECT_EQ(test_allocator->GetDescriptors()[3].size, ISize(1000, 1000));

EXPECT_EQ(test_allocator->GetDescriptors()[2].size, ISize(200, 200));
EXPECT_EQ(test_allocator->GetDescriptors()[3].size, ISize(200, 200));
EXPECT_EQ(test_allocator->GetDescriptors()[4].size, ISize(200, 200));
EXPECT_EQ(test_allocator->GetDescriptors()[5].size, ISize(200, 200));
} else if (test_allocator->GetDescriptors().size() == 9u) {
Expand Down
9 changes: 9 additions & 0 deletions impeller/renderer/renderer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@ TEST_P(RendererTest, CanRenderInstanced) {
}

TEST_P(RendererTest, CanBlitTextureToTexture) {
if (GetBackend() == PlaygroundBackend::kOpenGLES) {
GTEST_SKIP() << "Mipmap test shader not supported on GLES.";
}
auto context = GetContext();
ASSERT_TRUE(context);

Expand Down Expand Up @@ -572,6 +575,9 @@ TEST_P(RendererTest, CanBlitTextureToTexture) {
}

TEST_P(RendererTest, CanBlitTextureToBuffer) {
if (GetBackend() == PlaygroundBackend::kOpenGLES) {
GTEST_SKIP() << "Mipmap test shader not supported on GLES.";
}
auto context = GetContext();
ASSERT_TRUE(context);

Expand Down Expand Up @@ -706,6 +712,9 @@ TEST_P(RendererTest, CanBlitTextureToBuffer) {
}

TEST_P(RendererTest, CanGenerateMipmaps) {
if (GetBackend() == PlaygroundBackend::kOpenGLES) {
GTEST_SKIP() << "Mipmap test shader not supported on GLES.";
}
auto context = GetContext();
ASSERT_TRUE(context);

Expand Down
7 changes: 3 additions & 4 deletions testing/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,17 +1266,16 @@ def main():
build_dir, engine_filter, args.coverage, args.engine_capture_core_dump
)

# Use this type to exclusively run impeller vulkan tests.
if 'impeller-vulkan' in types:
# Use this type to exclusively run impeller tests.
if 'impeller' in types:
build_name = args.variant
try:
xvfb.start_virtual_x(build_name, build_dir)
run_engine_executable(
build_dir,
'impeller_unittests',
engine_filter,
shuffle_flags + ['--gtest_filter=-'
'*/OpenGLES:'],
shuffle_flags,
coverage=args.coverage
)
finally:
Expand Down