Revert of gpu: Use shader cache on ES3 (patchset #2 id:20001 of https://codereview...
commitee93fe24ade72f695c5873b182b0b1774f223b6c
authorsievers <sievers@chromium.org>
Wed, 22 Jul 2015 00:50:28 +0000 (21 17:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jul 2015 00:51:04 +0000 (22 00:51 +0000)
treea7aba1099ee017e55a87cd511fb34a3eb78007f5
parent66c6978bdb49a99c387c11f94b35df1f8902d49c
Revert of gpu: Use shader cache on ES3 (patchset #2 id:20001 of https://codereview.chromium.org/1223393003/)

Reason for revert:
This codepath is actually flaky.

OnLoadedShader() races with dynamic GL binding initialization. Previously it meant that we just might not end up loading this shader (as long as b_GL_OES_get_program_binary etc. default to false), but the GetGLVersionInfo() might actually crash.

Original issue's description:
> gpu: Use shader cache on ES3
>
> The ES3 core specs supports gl(Get)ProgramBinary().
> BUG=510172
>
> Committed: https://crrev.com/809d9b979c0edd3976132eaaf77fc4740fcee019
> Cr-Commit-Position: refs/heads/master@{#339369}

TBR=dyen@chromium.org,zmo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=510172,512464

Review URL: https://codereview.chromium.org/1247233002

Cr-Commit-Position: refs/heads/master@{#339802}
content/common/gpu/gpu_channel_manager.cc
ui/gl/gl_gl_api_implementation.h