Mesa Lands Support For ARB_texture_query_levels
Written by Michael Larabel in Mesa on 5 October 2013 at 12:47 PM EDT. 3 Comments
The necessary plumbing has happened inside Mesa for handling the OpenGL ARB_texture_query_levels extension and it's now implemented for the open-source Intel Linux graphics driver on Sandy Bridge hardware and newer.

ARB_texture_query_levels requires at least GLSL 1.30 and is written against the OpenGL 4.2 specification as an extension to provide a new set of texture functions for GLSL to expose the number of mipmap levels for a sampler variable and other characteristics. The full specification can be found via the registry.

While there's the support within core Mesa and the GL Shading Language changes made, as is usually the case when other OpenGL extensions are enabled in Mesa, for right now there's only support for the Intel i965 hardware driver. Intel made the necessary changes to better the Mesa OpenGL driver support and obviously they're most concerned just about their hardware driver, but in due time we will hopefully see the code taken advantage of within the Nouveau and Radeon drivers, etc. The support covers Sandy Bridge (Gen6) and newer hardware though when Gen5 hardware gets GLSL 1.30 by default, it should work there too.

This new OpenGL extension will be one of many extensions to be found in the next Mesa release due out in November. It's likely to be called Mesa 10.0 if OpenGL 3.2/3.3 support is reached.

About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Related Mesa News
Popular News
Trending Reviews & Featured Articles