--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/87cb5f6b-8258-4187-a393-a5f8c3c570bco%40googlegroups.com.
I suspect the D3D11 device is failing to be initialized, possibly due to some XBox-specific parameters being incorrect/missing. If you're compiling ANGLE yourself, try adding logging around here.
On Thu, Jun 11, 2020 at 10:00 AM Anton Kolosov <anto...@gmail.com> wrote:
Hello all.--I've tried to use ANGLE to create UWP app for XBOX One S. The corresponding app for desktop used GLES3 (it is Godot engine game).Created UWP app successfully worked on my Windows 10 laptop, but when starting on XBOX One, it crashes, because GL context cannot be created.I've managed to get it work on XBOX by using EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE during display creation, but software renderer works awfully slow :(Has anyone succeded with running GLES3 UWP app on XBOX One S, or its hardware does not allow GLES3 context creation?Best regards,Anton
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anglep...@googlegroups.com.
Xbox One only supports DirectX 11 Feature Level 10 in UWPs: https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/system-resource-allocation
I think you need Feature Level 10.1+ to use GLES3 in ANGLE: https://github.com/google/angle/blob/7a5814e211801b66f39b1fb07fe93aeba298a669/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp#L1236
Perhaps you could try modifying ANGLE to allow GLES3 on Feature Level 10. You could also maybe try using Direct3D11On12 (since D3D12 supports higher feature levels in Xbox UWPs). I haven’t tried either of these suggestions myself though.
Austin
(resending because my original reply had issues posting to angleproject, apologies for any noise)
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/c7517647-0e05-4ff2-b7f6-f673407f715do%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/c7517647-0e05-4ff2-b7f6-f673407f715do%40googlegroups.com.