Revert "i965: Delete pre-DRI2.3 viewport hacks."
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Jul 2013 22:11:13 +0000 (15:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Jul 2013 22:25:43 +0000 (15:25 -0700)
commit0e9549e2bd57168086421468cbf1db0821c36730
tree9ad57fd702f4c8bec818d9bbfe490e848fd0b258
parenta8c8c5f8d228db7b85e981fc9abb3940debd599c
Revert "i965: Delete pre-DRI2.3 viewport hacks."

This reverts commit c9db037dc999eadbcaa8816c814e6ec1776d1a40.

Eric believes that the viewport hacks are still necessary for EGL;
invalidate events aren't hooked up properly.

This commit caused a regression where EFL applications wouldn't show
anything other than window decorations; GLBenchmark also showed issues.

The revert had conflicts due to the intel_context/brw_context merge.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66606
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/intel_context.c
src/mesa/drivers/dri/i965/intel_tex_image.c