Function webrender::device::gl::parse_mali_version

source ·
fn parse_mali_version(version_string: &str) -> Option<(u32, u32, u32)>
Expand description

Parses the major, release, and patch versions from a GL_VERSION string on Mali devices. For example, for the version string “OpenGL ES 3.2 v1.r36p0-01eac0.28ab3a577f105e026887e2b4c93552fb” this returns Some((1, 36, 0)). Returns None if the version cannot be parsed.