Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsolete OpenGLView #9660

Merged
merged 3 commits into from
Aug 27, 2022
Merged

Obsolete OpenGLView #9660

merged 3 commits into from
Aug 27, 2022

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Aug 25, 2022

Description of Change

The OpenGLViewRenderer's were not ported to .NET MAUI and we currently don't have a plan to. They are still available via build.UseMauiCompatibility but they are currently not tested and are unsupported

@jsuarezruiz
Copy link
Contributor

Require some more changes to pass the Build.

/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Android/Renderers/OpenGLViewRenderer.cs(42,68): error CS0618: 'OpenGLView' is obsolete: 'OpenGLView is obsolete as of .NET 7. To enable this view you will need to call `builder.UseMauiCompatibility` but it is currently untested and unsupported.' [/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Compatibility.csproj]
/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Android/Renderers/OpenGLViewRenderer.cs(87,13): error CS0618: 'OpenGLView' is obsolete: 'OpenGLView is obsolete as of .NET 7. To enable this view you will need to call `builder.UseMauiCompatibility` but it is currently untested and unsupported.' [/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Compatibility.csproj]
/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Android/Renderers/OpenGLViewRenderer.cs(90,20): error CS0618: 'OpenGLView' is obsolete: 'OpenGLView is obsolete as of .NET 7. To enable this view you will need to call `builder.UseMauiCompatibility` but it is currently untested and unsupported.' [/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Compatibility.csproj]
/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/AppHostBuilderExtensions.cs(91,50): error CS0618: 'OpenGLView' is obsolete: 'OpenGLView is obsolete as of .NET 7. To enable this view you will need to call `builder.UseMauiCompatibility` but it is currently untested and unsupported.' [/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Compatibility.csproj]
/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Android/Renderers/OpenGLViewRenderer.cs(69,26): error CS0618: 'OpenGLView' is obsolete: 'OpenGLView is obsolete as of .NET 7. To enable this view you will need to call `builder.UseMauiCompatibility` but it is currently untested and unsupported.' [/Users/builder/azdo/_work/2/s/src/Compatibility/Core/src/Compatibility.csproj]

@mattleibow
Copy link
Member

One of the big reasons OpenGLView is not so useful anymore is that really devices are "supporting" OpenGL but moving to new things:

  • Android is Vulkan
  • iOS/macOS is Metal
  • Windows is DirectX

Sure, OpenGL "works" but already you can't create Mac Catalyst apps with OpenGL, and iOS and macOS is deprecating it. Android still works, but they are moving towards Vulkan pretty heavily and Windows... well, OpenGL was always a second class citizen.

@PureWeen PureWeen merged commit a1d19ba into main Aug 27, 2022
@PureWeen PureWeen deleted the obsolete_openglview branch August 27, 2022 03:27
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants