Skip to content

Android, does CreateAndroidSurface work? #55

@BradChase2011

Description

@BradChase2011

I am trying to create an android example app but I keep failing when trying to call CreateAndroidSurface from the Instance:

at <0xffffffff>
at System.Object:wrapper_native_0x7820814f5c <0x00007>
at :invoke_Result_Instance_AndroidSurfaceCreateInfo*_AllocationCallbacks*_Surface* <0x0018b>
at SharpVk.Khronos.InstanceExtensions:CreateAndroidSurface <0x003eb>

I cant seem to find any SharpVk examples that have a Droid target so I was hoping either, this was a known problem, there are some running examples somewhere I can parse through to find some differences, or maybe I missed a flag somewhere. These are the three extensions I have named:

_Instance = Instance.Create(enabledLayers.ToArray(), new string[] { "VK_KHR_surface", "VK_KHR_android_surface", "VK_EXT_debug_report" }, applicationInfo: applicationInfo);

Thanks much!
Brad

EDIT: To add, all the VulkanSharp and VulkanCore samples run...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions