blob: 63b69d2eb2cc7b5b24ff9c3a60f10a2329a3cef8 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/tests/embedder_test.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_vulkan.h"
namespace flutter::testing {
EmbedderTestContext& EmbedderTest::GetVulkanContext() {
if (!vulkan_context_) {
vulkan_context_ =
std::make_unique<EmbedderTestContextVulkan>(GetFixturesDirectory());
}
return *vulkan_context_.get();
}
} // namespace flutter::testing