1.9 KiB
Platform Support Library (platform)
Table of Contents
Introduction
The platform support library will include headers, functions, and classes related to supporting various platforms. Platforms may be defined as any Hardware, OS, or Drivers that must be initialized for the engine context.
Changes
For the foreseeable future, I will be switching to SDL for window management. SDL was chosen over GLFW due to GLFW's lack of support for Android and iOS. A custom implementation is still something I would like to do, but is currently out of scope for where I would like to focus my energy. As soon as SDL becomes
Implementation
Platform Support will be implemented in the following order:
- Linux/BSD
- Wayland
- OpenGL (EGL) ✅
- XKB
- PulseAudio
- Vulkan
- X11
- ALSA
- Vulkan
- Wayland
- Microsoft Windows
- XInput
- OpenGL (WGL)
- WASAPI
- Vulkan
- Android
- OpenGL ES
- AAudio
- openslES
- macOS/iOS
- cocoa
- OpenGL
- Core Audio
- Vulkan
- Metal
- cocoa
Linux Wayland will be implemented first. Once setup, the core engine will be implemented and tested on top of Wayland. Once the engine is in a stable state, then support for other platforms will be resumed.
Consoles
Most consoles will never get official platform support due to NDAs which conflict with the principles of this engine. fennec will avoid using proprietary libraries except when strictly necessary, such as support for Windows and MacOS. fennec will interact with any drivers required for the listed operating systems above, even if proprietary.