The EGL* APIs have deprecation warnings that can't be followed #5818
Copy link
Copy link
Closed
Labels
Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).Issues with the Android API binding (Mono.Android.dll).
Milestone
Description
Steps to Reproduce
- Use
Javax.Microedition.Khronos.Egl.EGL10.EglNoContext - Observe warning
'EGL10.EglNoContext' is obsolete: 'Use 'Javax.Microedition.Khronos.Egl.IEGL10.EglNoContext'. This class will be removed in a future release.' - Use
IEGL10 - Observe Compiler error
'IEGL10' does not contain a definition for 'EglNoContext'
This seems to be the variousNo*things likeNoContext,NoDisplay, andNoSurface. And alsoEglDefaultDisplay
Expected Behavior
The new member exists.
Actual Behavior
New member does not exist.
Version Information
This is on net6.0-android but did not test classic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).Issues with the Android API binding (Mono.Android.dll).
Activity
jpobst commentedon Apr 5, 2021
Filed as dotnet/java-interop#821 for the root cause. This will affect API 30+, however the workaround is simply continue using the members marked as
[Obsolete].[generator] Support binding non-const Java interface fields (#831)
jpobst commentedon May 11, 2021
Fixed as a result of: