[Mesa-dev] [RFC PATCH 0/3] mesa/main/extensions: approximate feature levels for enabling better
Benedikt Schemmer
ben at besd.de
Sat May 19 13:18:50 UTC 2018
Most of the extensions are currently either always available or not.
A mechanism to enable extensions based on the required OpenGL version is already
in place, its just rarely used.
This might cause problems when an application actually tries to use an extension
in a context for which the extension was not designed.
Also this prevents extensions that might be problematic when they are always
enabled, to be enabled in the appropriate context.
Tested with several 64-bit games.
CC: "Marek Olšák" <maraeo at gmail.com>
CC: Eric Anholt <eric at anholt.net>
CC: Emil Velikov <emil.l.velikov at gmail.com>
CC: Timothy Arceri <tarceri at itsqueeze.com>
CC: Ilia Mirkin <imirkin at alum.mit.edu>
Benedikt Schemmer (3):
mesa/main/extensions: make constants slightly more expressive and adjust layout
mesa/main/extensions: first attempt to get the context levels right
mesa/main/extensions: introduce dependencies
src/mesa/main/extensions.c | 3 +
src/mesa/main/extensions.h | 3 +
src/mesa/main/extensions_table.c | 5 +-
src/mesa/main/extensions_table.h | 841 ++++++++++++++++++++-------------------
4 files changed, 434 insertions(+), 418 deletions(-)
--
2.14.1
More information about the mesa-dev
mailing list