commit | b92d8f7979c29c7c09932578a11b2f8d6eec1d90 | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Fri Sep 21 08:40:46 2012 -0700 |
committer | Chet Haase <chet@google.com> | Sun Sep 23 12:16:02 2012 -0700 |
tree | b82c57bffc1eded3b6fd15d9a80019e3228c7f2d | |
parent | 7b770b0ec4e5a1b7f1b9601433fb35e55658453d [diff] |
Optimize glyph cache texture uploads Only upload the changed area of the glyph cache, not the entire bitmap. Note that we can't do the full-on optimization here of copying a sub-rect of the bitmap because of GL ES 2 limitations, but we can at least copy the horizontal stripe containing the dirty rect, which can still be a big savings over uploading the entire bitmap. Issue #7158326 Bad framerates on MR1 (Mako, Manta, Prime) Change-Id: Iab38d53202650f757ead4658cf4287bdad2b3cb9