Drop support for DirectX 9 / OpenGL 2.0 #2186
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Details
Description
This is my attempt to remove DirectX 9 / OpenGL 2.0 (called Level 9) from Stride and set Level 10 as default instead.
Motivation
This is change was inspired by @ykafia (check out his discussion here #2185) and based on my personal knowledge.
Stride Engine primarly focus currently on supporting desktop and mobile platforms (but I heard isn't that good tbh), so it would be relevant to check out current state of graphics api distribution among players:
Android
Source: https://developer.android.com/about/dashboards/index.html
As we can see, more than 93% of devices support OpenGL 3.0 or later
Desktop
Since Steam platform is dominant, I think it is also reliable source
As can be observed, DirectX 9 marketshare is basically irrelevant ( almost 97 % of devices are supporting DX10 or later)
Interestingly, Directx 12 alone supports about 90% of the all desktop computers.
Source: https://store.steampowered.com/hwsurvey
Types of changes
Checklist