This commit is contained in:
Jörg Wollenschläger 2016-04-27 09:59:04 +09:00
Родитель ae890f5786
Коммит a6e6da6c5a
3 изменённых файлов: 0 добавлений и 39 удалений

Просмотреть файл

@ -1718,12 +1718,6 @@ namespace SharpVulkan
None = 0,
}
[Flags]
public enum XcbSurfaceCreateFlags : int
{
None = 0,
}
[Flags]
public enum AndroidSurfaceCreateFlags : int
{

Просмотреть файл

@ -108,16 +108,6 @@ namespace SharpVulkan
[DllImport(Vulkan.LibraryName, CallingConvention = CallingConvention.StdCall)]
internal static extern unsafe Result vkCreateXlibSurfaceKHR(Instance instance, XlibSurfaceCreateInfo* createInfo, AllocationCallbacks* allocator, Surface* surface);
public unsafe Surface CreateXcbSurface(XcbSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
{
Surface surface;
vkCreateXcbSurfaceKHR(this, &createInfo, allocator, &surface).CheckError();
return surface;
}
[DllImport(Vulkan.LibraryName, CallingConvention = CallingConvention.StdCall)]
internal static extern unsafe Result vkCreateXcbSurfaceKHR(Instance instance, XcbSurfaceCreateInfo* createInfo, AllocationCallbacks* allocator, Surface* surface);
public unsafe Surface CreateAndroidSurface(ref AndroidSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
{
Surface surface;
@ -406,16 +396,6 @@ namespace SharpVulkan
[DllImport(Vulkan.LibraryName, CallingConvention = CallingConvention.StdCall)]
internal static extern unsafe RawBool vkGetPhysicalDeviceXlibPresentationSupportKHR(PhysicalDevice physicalDevice, uint queueFamilyIndex, IntPtr dpy, uint visualId);
public unsafe RawBool GetXcbPresentationSupport(uint queueFamilyIndex, XcbConnectionT connection, int visualid)
{
RawBool __result__;
__result__ = vkGetPhysicalDeviceXcbPresentationSupportKHR(this, queueFamilyIndex, &connection, visualid);
return __result__;
}
[DllImport(Vulkan.LibraryName, CallingConvention = CallingConvention.StdCall)]
internal static extern unsafe RawBool vkGetPhysicalDeviceXcbPresentationSupportKHR(PhysicalDevice physicalDevice, uint queueFamilyIndex, XcbConnectionT* connection, int visualid);
public unsafe RawBool GetWin32PresentationSupport(uint queueFamilyIndex)
{
RawBool __result__;

Просмотреть файл

@ -4840,19 +4840,6 @@ namespace SharpVulkan
public uint Window;
}
public partial struct XcbSurfaceCreateInfo
{
public StructureType StructureType;
public IntPtr Next;
public XcbSurfaceCreateFlags Flags;
public IntPtr Connection;
public int Window;
}
public partial struct AndroidSurfaceCreateInfo
{
public StructureType StructureType;