1 /* 2 * Copyright 2020 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 D3DTestUtils_DEFINED 9 #define D3DTestUtils_DEFINED 10 11 #ifdef SK_DIRECT3D 12 13 struct GrD3DBackendContext; 14 15 namespace sk_gpu_test { 16 bool CreateD3DBackendContext(GrD3DBackendContext* ctx, 17 bool isProtected = false); 18 } 19 20 #endif 21 #endif 22