1 /* 2 * GStreamer 3 * Copyright (C) 2015 Matthew Waters <matthew@centricular.com> 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Library General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Library General Public License for more details. 14 * 15 * You should have received a copy of the GNU Library General Public 16 * License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 * Boston, MA 02110-1301, USA. 19 */ 20 21 #ifndef __GST_VULKAN_API_H__ 22 #define __GST_VULKAN_API_H__ 23 24 /** 25 * VK_PROTOTYPES: (attributes doc.skip=true) 26 */ 27 #define VK_PROTOTYPES 28 29 #include <gst/vulkan/gstvkconfig.h> 30 #include <gst/vulkan/vulkan-prelude.h> 31 #include <gst/vulkan/vulkan_fwd.h> 32 #include <gst/vulkan/vulkan-enumtypes.h> 33 34 /** 35 * VK_DEFINE_NON_DISPATCHABLE_HANDLE: 36 * 37 * Allow applications to override the VK_DEFINE_NON_DISPATCHABLE_HANDLE 38 * but provide our own version otherwise. The default vulkan define 39 * provides a different symbol type depending on the architecture and 40 * this causes multilib problems because the generated .gir files are 41 * different. 42 * 43 * Also make sure to provide a suitable GST_VULKAN_NON_DISPATCHABLE_HANDLE_FORMAT 44 * implementation when redefining VK_DEFINE_NON_DISPATCHABLE_HANDLE. 45 * 46 * Since: 1.20 47 */ 48 #if !defined(VK_DEFINE_NON_DISPATCHABLE_HANDLE) 49 #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object; 50 #endif 51 52 #include <vulkan/vulkan_core.h> 53 54 #endif /* __GST_VULKAN_API_H__ */ 55