radeon: Enable extensions by just setting the flags
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 22 Aug 2011 20:39:47 +0000 (13:39 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Sep 2011 21:02:20 +0000 (14:02 -0700)
commit6fb32b4a5fd731fa789d47ed6dcf29991df1e09b
tree0564ce2686611e7d23a743c757675c9479d67a68
parent4b43eea1b367e1e639e225e6c772e44037649dfa
radeon: Enable extensions by just setting the flags

Core Mesa already does the dispatch offset remapping for every
function that could possibly ever be supported.  There's no need to
continue using that cruft in the driver.

Since the call to _mesa_enable_imaging_extensions (via
driInitExtensions) is removed, EXT_blend_color, EXT_blend_logic_op,
and EXT_blend_minmax are no longer advertised.  These all resulted in
software fallbacks, so their loss will not be mourned.
EXT_blend_subtract is, however, explicitly added to the list.
GL_FUNC_SUBTRACT is fully accelerated, but GL_FUNC_REVERSE_SUBTRACT
(still) results in a software fallback.

Cc: Alex Deucher <alexdeucher@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/radeon/radeon_context.c