Reduce the GL functor OpenGL state restoration to the minimum possible.

Currently, an extensive GL state restore/save safeguard is used to discard any problems
caused by GL state inconsistency between the Android View System and Chromium's compositor.
This patch reduces this safeguard to its possible minimum for the sake of performance and
to expose any further hidden problems.

This should be handled in the future by an automated GL state restoration mechanism
that would prevent Chromium's compositor from affecting Android View System compositing
when rendering into the device screen directly.


BUG=164140
TEST=Look for any new graphical glitches while testing HW-accelerated WebView.


Review URL: https://chromiumcodereview.appspot.com/12600008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187370 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed