1 /* 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 13 namespace skiatest::graphite { 14 15 struct 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 29