Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
tester_context_mtl_factory.h
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
5
#ifndef FLUTTER_SHELL_TESTING_TESTER_CONTEXT_MTL_FACTORY_H_
6
#define FLUTTER_SHELL_TESTING_TESTER_CONTEXT_MTL_FACTORY_H_
7
8
#include <memory>
9
#include "
flutter/shell/testing/tester_context.h
"
10
11
// Impeller should only be enabled if the Metal backend is enabled.
12
#define TESTER_ENABLE_METAL \
13
(IMPELLER_SUPPORTS_RENDERING && IMPELLER_ENABLE_METAL)
14
15
namespace
flutter
{
16
17
class
TesterContextMTLFactory
{
18
public
:
19
static
std::unique_ptr<TesterContext>
Create
();
20
};
21
22
}
// namespace flutter
23
24
#endif
// FLUTTER_SHELL_TESTING_TESTER_CONTEXT_MTL_FACTORY_H_
flutter::TesterContextMTLFactory
Definition
tester_context_mtl_factory.h:17
flutter::TesterContextMTLFactory::Create
static std::unique_ptr< TesterContext > Create()
Definition
tester_context_mtl_factory.mm:125
flutter
Definition
asset_manager.cc:10
tester_context.h
shell
testing
tester_context_mtl_factory.h
Generated on Tue Jan 20 2026 04:53:23 for Flutter Engine Uber Docs by
1.9.8