Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove ES3 option, restrict use to WebGL2 #145

Open
4 tasks
flibitijibibo opened this issue Jan 27, 2022 · 0 comments
Open
4 tasks

Remove ES3 option, restrict use to WebGL2 #145

flibitijibibo opened this issue Jan 27, 2022 · 0 comments
Labels

Comments

@flibitijibibo
Copy link
Member

flibitijibibo commented Jan 27, 2022

ES3 was, for a long time, the only choice for a lot of places:

  • Xbox
  • Switch
  • Stadia
  • iOS/tvOS
  • Emscripten
  • FNADroid

Nowadays, thanks to FNA3D, it now looks like this...

  • Xbox D3D11 (UWP), GLon12 (GDK)
  • Switch Vulkan
  • Stadia Vulkan
  • iOS/tvOS MoltenVK
  • Emscripten
  • FNADroid Never supported, even then would be Vulkan-only

We're so close to making ES3 unnecessary, sadly Emscripten is completely screwed thanks to WebGPU. But, that doesn't mean we necessarily have to keep all of ES3, we could hypothetically just restrict it to WebGL2 use instead.

The checklist:

  • Vulkan by default
  • Remove FORCE_ES3 environment variable
  • Rename useES3 to webGL, update SDL_GetPlatform checks
  • See what WebGL2 looks like, maybe we can strip down the useES3 paths

If somebody makes a WebGPU-based ICD for Vulkan we can just strip all the ES3 code out.

@flibitijibibo flibitijibibo changed the title Remove ES3 in favor of WebGL2 Remove ES3, restrict use to WebGL2 Jan 27, 2022
@flibitijibibo flibitijibibo changed the title Remove ES3, restrict use to WebGL2 Remove ES3 option, restrict use to WebGL2 Jan 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant