Flutter Engine
 
Loading...
Searching...
No Matches
embedder_test_vulkan.cc
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
6
8
9namespace flutter::testing {
10
11EmbedderTestContext& EmbedderTest::GetVulkanContext() {
12 if (!vulkan_context_) {
14 std::make_unique<EmbedderTestContextVulkan>(GetFixturesDirectory());
15 }
16 return *vulkan_context_.get();
17}
18
19} // namespace flutter::testing
std::string GetFixturesDirectory() const
EmbedderTestContext & GetVulkanContext()
std::unique_ptr< EmbedderTestContext > vulkan_context_