Reland of gpu: Clarify sized texture format is available (https://codereview.chromium.org/2117183006)

Reason for revert:
r425684 causes blank video of mediaStream playback in MacOSX, because MacOSX
relies on the hack, which the CL removed. This CL remains the hack only in MacOSX.

BUG=535198, 657532

> Revert of gpu: Clarify sized texture format is available only if ES3 context or immutable texture is supported (patchset #7 id:160001 of https://codereview.chromium.org/2117183006/ )
>
> Reason for revert:
> Broke playing back recorded data as detailed
> in https://crbug.com/657532.  The bug has
> step-by-step notes on how to repro (see also #4
> in there).
>
> Locally reverting of this CL restores the functionality.
>
> Original issue's description:
> > gpu: Clarify the sized texture format is available only if ES3 context or immutable texture is supported.
> >
> > This clarification makes it possible that gles2 decoder tracks true internal format of immutable texture. So this CL removes internal_format hack in GLES2DecoderImpl::TexStorageImpl()
> >
> > In addition, it makes CMAA skip redundant copy path because CMAA can know true internal format.
> >
> > BUG=535198
> > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
> >
> > Committed: https://crrev.com/730f8089f791fa31a3ee2a7f5059a1052b129d21
> > Cr-Commit-Position: refs/heads/master@{#425684}
>
> TBR=dongseong.hwang@chromium.org,zmo@chromium.org,kbr@chromium.org,dongseong.hwang@intel.com
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=535198
>
> Review-Url: https://codereview.chromium.org/2443123004
> Cr-Commit-Position: refs/heads/master@{#427229}
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2448083003
Cr-Commit-Position: refs/heads/master@{#427473}
7 files changed