gpu: Don't clear texture level in DoCopyTexSubImage2D() if not needed.
commit351519fd09084647cd154169c0d1f99181e029bb
authordongseong.hwang <dongseong.hwang@intel.com>
Wed, 21 Jan 2015 14:33:59 +0000 (21 06:33 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 21 Jan 2015 14:35:59 +0000 (21 14:35 +0000)
treee1285b46f4d2d1e701e6fe613de66a253c2bfa72
parentf4bdb54c848a8152503f37be998899c3236b114a
gpu: Don't clear texture level in DoCopyTexSubImage2D() if not needed.

This optimization is similar to one of TexSubImage2D().

TEST=Service/GLES2DecoderTest.CopyTexSubImage2DClearsUnclearedBackBufferSizedTexture

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

Cr-Commit-Position: refs/heads/master@{#312371}
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc