Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GraphiteMtlTestContext.h
Go to the documentation of this file.
1/*
2 * Copyright 2021 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef skiatest_graphite_MtlTestContext_DEFINED
9#define skiatest_graphite_MtlTestContext_DEFINED
10
12
14
15namespace skiatest::graphite {
16
18public:
19 ~MtlTestContext() override {}
20
21 static std::unique_ptr<GraphiteTestContext> Make();
22
24
26
27 std::unique_ptr<skgpu::graphite::Context> makeContext(const TestOptions&) override;
28
32
33protected:
35
37};
38
39} // namespace skiatest::graphite
40
41#endif // skiatest_graphite_MtlTestContext_DEFINED
skgpu::graphite::MtlBackendContext fMtl
static std::unique_ptr< GraphiteTestContext > Make()
skgpu::BackendApi backend() override
MtlTestContext(const skgpu::graphite::MtlBackendContext &mtl)
std::unique_ptr< skgpu::graphite::Context > makeContext(const TestOptions &) override
const skgpu::graphite::MtlBackendContext & getBackendContext() const
skgpu::ContextType contextType() override
BackendApi
Definition GpuTypes.h:22