blob: e31dc67d31b718b95c4e8103eaef0f2674d0b588 [file] [log] [blame]
Brian Salomon23e1cb22023-12-05 19:46:43 -05001/*
2 * Copyright 2023 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_TestOptions_DEFINED
9#define skiatest_graphite_TestOptions_DEFINED
10
11#include "include/gpu/graphite/ContextOptions.h"
12
13namespace skiatest::graphite {
14
15struct TestOptions {
16 TestOptions() = default;
17 TestOptions(const TestOptions&) = default;
18 TestOptions(TestOptions&&) = default;
19 TestOptions& operator=(const TestOptions&) = default;
20 TestOptions& operator=(TestOptions&&) = default;
21
22 skgpu::graphite::ContextOptions fContextOptions = {};
23 bool fNeverYieldToWebGPU = false;
24};
25
26} // namespace skiatest::graphite
27
28#endif