diff options
author | 2009-06-10 02:12:47 +0000 | |
---|---|---|
committer | 2009-06-10 02:12:47 +0000 | |
commit | 199f108f14a5f60a9c2205ffa79b26102a206ad0 (patch) | |
tree | 9486ea6b42c81f5fece079339ae48869755b26f4 /gm/gmmain.cpp | |
parent | 829c83c7c9a997993207b68f6fcaf7a5bbcd10b2 (diff) |
only call SkDevice::gainFocus() if we're actually drawing to a different device.
Saves overhead when using GL.
git-svn-id: http://skia.googlecode.com/svn/trunk@207 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/gmmain.cpp')
0 files changed, 0 insertions, 0 deletions