Reorangizing the GLES2 code to handle shared
resources and non-renderable texture situations.

I haven't written enough unit tests for this
but the CL is already too big.

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/646070

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