February 27, 2020
In the early days of Panfrost, the free and open-source graphics driver for Mali GPUs, we focused on OpenGL ES 2.0. Many applications and games work have basic support for ES 2.0 but for advanced rendering require the newer, more featureful OpenGL ES 3.0... for which Panfrost now has initial support!
ES 3.0 adds dozens of new features to ES 2.0 to enable faster and more realistic rendering. To support it, we've added features to Panfrost like instanced rendering, primitive restart, uniform buffer objects, 3D textures, and multiple render targets (on Mali T760 and up). Features like instanced rendering and primitive restart allow developers to write faster graphics applications, to render efficiently scenes more complex than possible in ES 2.0. Features like uniform buffer objects and 3D texture give developers a more natural environment to write efficient graphics shaders, again allowing for more complex fast applications. Finally, features like multiple render target enable a range of modern rendering techniques like deferred shading.
By adding these features and more to Panfrost, games like SuperTuxKart now work with their preferred modern renderers, for instance using instancing for particle systems and new texturing operations to add shadows. SuperTuxKart's ES 3.0 non-deferred renderer now works with Panfrost, so grab the latest code and give it a play!
To ensure OpenGL ES 3.0 continues working smoothly with Panfrost and only improves over time, we've added ES 3.0 to Panfrost's continuous integration infrastructure. Every change to upstream Mesa is verified against the drawElements Quality Program (dEQP) test suite on Panfrost hardware, now including ES 3.0 testing on Mali T860 in our continuous integration lab. Panfrost currently passes 95% of dEQP's ES 3.0 tests, and with continuous integration in place, this number can only grow.
Panfrost's ES 3.0 support has landed in upstream Mesa and works with a mainline Linux kernel. While the code is still experimental, it can be accessed compiling the latest Mesa and setting the environment variable
PAN_MESA_DEBUG=gles3. The support is still early, but if you're feeling adventurous, feel free to give it a try on your favourite ES 3.0 applications and games. You might be pleasantly surprised!
|SuperTuxKart running with Open GL ES 3.0 on Panfrost|
Monado now has initial support for 6DoF ("inside-out") tracking for devices with cameras and an IMU! Three free and open source SLAM/VIO…
When developing an application or a library, it is very common to want to run it without installing it, or to install it into a custom prefix…
An incredible amount has changed in Mesa and in the Vulkan ecosystems since we wrote the first Vulkan driver in Mesa for Intel hardware…
Every file system used in production has tools to try to recover from system crashes. To provide a better infrastructure for those tools,…
The PipeWire project made major strides over the past few years, bringing shiny new features, and paving the way for new possibilities in…
Over the past 18 months, we have been on a roller-coaster ride developing futex2, a new set of system calls. As part of this effort, the…