intel: use _mesa_meta_Clear with OpenGL ES 1.1 v2
authorTapani Pälli <tapani.palli@intel.com>
Wed, 8 Aug 2012 17:46:45 +0000 (20:46 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Aug 2012 00:15:21 +0000 (17:15 -0700)
commit94f22fbe787214580a1a13a774114d2650c166cb
tree2b9c160525b2dad3e9da388c38bfb29a91be5b95
parent5deb1d1a1f9e3354597569032af9bdf27d629cca
intel: use _mesa_meta_Clear with OpenGL ES 1.1 v2

Patch changes i915 and i965 drivers to use fixed function version of
meta clear when running on ES 1.1. This fixes rendering errors seen with
Google Maps, Angry Birds and Gallery3D on Android platform.

Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all extensions
internally to be available independent of GL flavour, therefore check
against ARB_fragment_shader does not work.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50333
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i915/intel_clear.c
src/mesa/drivers/dri/i965/brw_clear.c