Revert "i915: Always enable GL 2.0 support."
authorMatt Turner <mattst88@gmail.com>
Mon, 30 Jan 2017 02:20:10 +0000 (18:20 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 15 Feb 2017 22:52:27 +0000 (14:52 -0800)
commita1891da7c865c80d95c450abfc0d2bc49db5f678
treea138bc20f9abca675373852e0b1828314dc4b815
parent656e30b6860461b2bd725590488126d5e7e10ec1
Revert "i915: Always enable GL 2.0 support."

This partially reverts commit 97217a40f97cdeae0304798b607f704deb0c3558.
It leaves ES 2.0 support in place per Ian's suggestion, because ES 2.0
is designed to work on hardware like i915.

Chrome only uses the GPU if you have GL >= 2.0, and using i915 (and
prog_execute) actually hurt performance compared with the software
paths.
src/mesa/drivers/dri/i915/intel_extensions.c
src/mesa/drivers/dri/i915/intel_screen.c