A second take on this small series. With permission of Marek, I've included and done a new revision of his patch to simplify MESA_GL_VERSION_OVERRIDE.
Additionslly, this series includes a correction for the drivers not supporting ARB_compatibility with GL3.1 and, also, the additional change in behavior of MESA_GL_VERSION_OVERRIDE to always reset the core version when using this env. variable. It makes more sense to have all this bundled together for an easier review process. With this, the biggest change is the one done and explained in patch 3/5: - 2.1: select a compatibility (non-Core) profile with GL version 2.1. - 3.0: select a compatibility (non-Core) profile with GL version 3.0. - 3.0FC: select a Core+Forward Compatible profile with GL version 3.0. - 3.1: select GL version 3.1 with GL_ARB_compatibility enabled per the driver default. - 3.1FC: select GL version 3.1 with forward compatibility and GL_ARB_compatibility disabled. - 3.1COMPAT: select GL version 3.1 with GL_ARB_compatibilty enabled. - X.Y: override GL version to X.Y without changing the profile. - X.YFC: select a Core+Forward Compatible profile with GL version X.Y. - X.YCOMPAT: select a Compatibility profile with GL version X.Y. Andres Gomez (3): dri_util: when overriding, always reset the core version dri_util: don't fail when not supporting ARB_compatibility with GL3.1 mesa: adds some comments regarding MESA_GLES_VERSION_OVERRIDE usage Marek Olšák (2): mesa: simplify MESA_GL_VERSION_OVERRIDE behavior of API override mesa: adjust incorrect comment in texture_buffer_range docs/envvars.html | 25 ++++++++++++++++++------- docs/features.txt | 11 +++++++---- src/mesa/drivers/dri/common/dri_util.c | 16 ++++++++++++---- src/mesa/main/teximage.c | 4 ++-- src/mesa/main/version.c | 33 +++++++++++++++++++-------------- 5 files changed, 58 insertions(+), 31 deletions(-) -- 2.16.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev