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 GrVkBackendSemaphore_DEFINED 9 #define GrVkBackendSemaphore_DEFINED 10 11 #include "include/gpu/ganesh/GrBackendSemaphore.h" 12 #include "include/private/base/SkAPI.h" 13 #include "include/private/gpu/vk/SkiaVulkan.h" 14 15 namespace GrBackendSemaphores { 16 SK_API GrBackendSemaphore MakeVk(VkSemaphore semaphore); 17 SK_API VkSemaphore GetVkSemaphore(const GrBackendSemaphore&); 18 } // namespace GrBackendSemaphores 19 20 #endif 21