3D driver technical description - Printable Version +- RISC OS Developer Forum (https://riscosdevforum.com) +-- Forum: RISC OS - The original OS for ARM CPUs created by Acorn Computers now open source (https://riscosdevforum.com/forumdisplay.php?fid=1) +--- Forum: Developers Forum (https://riscosdevforum.com/forumdisplay.php?fid=2) +---- Forum: 3D GPU Mesa Driver for RockChip RK3399 (in progress) (https://riscosdevforum.com/forumdisplay.php?fid=4) +---- Thread: 3D driver technical description (/showthread.php?tid=9) |
3D driver technical description - ksattic - 07-26-2021 RISC OS is missing a standard 3D API and drivers. In the past there have been numerous projects which have attempted to bring 3D rendering to RISC OS, but none had sufficient support or were restricted to a single platform. The main ones I'm aware of are:
The main limitation of the Mesa ports is that access to the OpenGL APIs was via C/C++ only, since there were no bindings for other languages. From a design perspective, it would make the most sense to provide the OpenGL (or other) APIs via SWIs, since that would allow for a language-agnostic way to make these calls. We can still provide C APIs for ease of porting existing software. In terms of flexibility, allowing for different renderers to be swapped in below these APIs would allow for software or hardware rendering on any given RISC OS platform. As a first step, the goal is to create (or port) a module that provides access to OpenGL 1.1 APIs from RISC OS. The next step is to connect that to an existing software and hardware renderer. Following that, more recent OpenGL APIs will be added, and a core goal is to maintain a port of Mesa with a 3D accelerant for the RK3399. This is already available in Panfrost, for Linux. |