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" <mar...@gmail.com> 
CC: Eric Anholt <e...@anholt.net>
CC: Emil Velikov <emil.l.veli...@gmail.com>
CC: Timothy Arceri <tarc...@itsqueeze.com>
CC: Ilia Mirkin <imir...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to