Optimized UpdateCleared() function using precalculated counter.
commit64eb6a88870692c31c7e292da9ad30432bd4dc93
authordyen <dyen@chromium.org>
Mon, 6 Oct 2014 18:21:14 +0000 (6 11:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Oct 2014 18:22:01 +0000 (6 18:22 +0000)
tree7abb0cf5736e027ab71a451d70e1da5e10633c26
parent16e7fae640eb254acd54533d865b3a01645607ac
Optimized UpdateCleared() function using precalculated counter.

This is the first CL optimizing the Texture Update functions. This
contains a really simple change which reduces the time by 30%, I have
moved it out into it's own CL for ease of reviewing.

R=vmiura@chromium.org
BUG=420152

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

Cr-Commit-Position: refs/heads/master@{#298281}
gpu/command_buffer/service/texture_manager.cc