diff options
author | kbr <kbr@chromium.org> | 2014-11-26 17:50:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-27 01:50:41 +0000 |
commit | e3558eac30baa00fe4bb4c1aa79f21185c98b485 (patch) | |
tree | 3280c82510a2b8d1920d486ff8495e8f975d66a5 /gpu/command_buffer/client/buffer_tracker.h | |
parent | 75643aced21b59dd9955925a13e47058b41c35d2 (diff) | |
download | chromium_src-e3558eac30baa00fe4bb4c1aa79f21185c98b485.zip chromium_src-e3558eac30baa00fe4bb4c1aa79f21185c98b485.tar.gz chromium_src-e3558eac30baa00fe4bb4c1aa79f21185c98b485.tar.bz2 |
Revert of gpu: fix CopyTextureCHROMIUM for immutable texture. (patchset #4 id:60001 of https://codereview.chromium.org/744713002/)
Reason for revert:
Broke video uploads to WebGL on official builds (taking the hardware accelerated video decode path). See Issue 436538.
Original issue's description:
> gpu: fix CopyTextureCHROMIUM for immutable texture.
>
> We cannot use glCopyTexImage2D on the texture which is allocated by glTexStorage2D [1]
> [1] https://www.opengl.org/registry/specs/ARB/texture_storage.txt
> The fast path uses glCopyTexSubImage2D instead of glCopyTexImage2D.
>
> In addition, optimize CopyTextureCHROMIUM for GL_TEXTURE_RECTANGLE_ARB,
> which is often used by the compositor, so make CopyTextureCHROMIUM use
> the fast path.
>
> Committed: https://crrev.com/df36f0aebe453bdbe842c85b331f6f07a24255a2
> Cr-Commit-Position: refs/heads/master@{#305268}
TBR=sievers@chromium.org,reveman@chromium.org,dongseong.hwang@intel.com
BUG=436538
Review URL: https://codereview.chromium.org/760173002
Cr-Commit-Position: refs/heads/master@{#305937}
Diffstat (limited to 'gpu/command_buffer/client/buffer_tracker.h')
0 files changed, 0 insertions, 0 deletions