1 /* 2 * Copyright 2022 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 skgpu_graphite_DawnUtils_DEFINED 9 #define skgpu_graphite_DawnUtils_DEFINED 10 11 #include <memory> 12 13 namespace skgpu::graphite { 14 15 class Context; 16 struct ContextOptions; 17 struct DawnBackendContext; 18 19 namespace ContextFactory { 20 std::unique_ptr<Context> MakeDawn(const DawnBackendContext&, const ContextOptions&); 21 } // namespace ContextFactory 22 23 } // namespace skgpu::graphite 24 25 26 #endif // skgpu_graphite_DawnUtils_DEFINED 27