commit | 199f108f14a5f60a9c2205ffa79b26102a206ad0 | [log] [tgz] |
---|---|---|
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 10 02:12:47 2009 +0000 |
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 10 02:12:47 2009 +0000 |
tree | 9486ea6b42c81f5fece079339ae48869755b26f4 | |
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