Swap iteration order in TileGrid::insert().
authormtklein <mtklein@chromium.org>
Wed, 24 Sep 2014 15:59:37 +0000 (08:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Sep 2014 15:59:37 +0000 (08:59 -0700)
commiteee606c7bf6b343429dcdbf56b6b71bd83575060
tree79a2fb34f9606d9fe3b5859b5c2879bbc530da54
parent30d2cc6ff47cb7f981d83e9a536971beec920f61
Swap iteration order in TileGrid::insert().

Was looking at performance here (it's the record hotspot) and noticed we
iterate through the grid out of order.  This is a tiny little thing, but it's
probably orthogonal to any other performance improvements we'll make in here.

BUG=skia:
R=robertphillips@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/598933004
src/core/SkTileGrid.cpp